Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (2) Update bidi requirements for <pre>, <textarea>, and <br>.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11734

git-svn-id: http://svn.whatwg.org/webapps@5887 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 14, 2011
1 parent 829035c commit 4acd0de
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 71 deletions.
41 changes: 19 additions & 22 deletions complete.html
Expand Up @@ -17833,16 +17833,15 @@ <h4 id=the-pre-element><span class=secno>4.5.3 </span>The <dfn><code>pre</code><
element can be used within a <code><a href=#the-pre-element>pre</a></code> element to indicate
text that the user is to enter.</p>

<p class=note>A newline in a <code><a href=#the-pre-element>pre</a></code> element separates
paragraphs for the purposes of the Unicode bidirectional algorithm.
<a href=#refsBIDI>[BIDI]</a></p>
<div class=impl>

<p>If the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is
in the <i title=attr-dir-auto-state><a href=#attr-dir-auto-state>auto</a></i> state, then for the
purposes of the bidirectional algorithm, the user agent must <span class=XXX>act in a manner consistent with the CSS 'white-space:plaintext' feature<!-- see bug 11734 --></span>.
<p>A newline in a <code><a href=#the-pre-element>pre</a></code> element should separate
paragraphs for the purposes of the Unicode bidirectional algorithm.
This requirement may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent could implement these
requirements by implementing the CSS 'unicode-bidi' property. <a href=#refsCSS>[CSS]</a></p>
requirements by implementing the CSS 'unicode-bidi' property. <a href=#refsBIDI>[BIDI]</a> <a href=#refsCSS>[CSS]</a></p>

</div>

<div class=example>

Expand Down Expand Up @@ -20877,8 +20876,12 @@ <h4 id=the-br-element><span class=secno>4.6.25 </span>The <dfn><code>br</code></
<p>Any content inside <code><a href=#the-br-element>br</a></code> elements must not be
considered part of the surrounding text.</p>

<p class=note>A <code><a href=#the-br-element>br</a></code> element separates paragraphs for
the purposes of the Unicode bidirectional algorithm. <a href=#refsBIDI>[BIDI]</a></p>
<p>A <code><a href=#the-br-element>br</a></code> element should separate paragraphs for the
purposes of the Unicode bidirectional algorithm. This requirement
may be implemented indirectly through the style layer. For example,
an HTML+CSS user agent could implement these requirements by
implementing the CSS 'unicode-bidi' property. <a href=#refsBIDI>[BIDI]</a> <a href=#refsCSS>[CSS]</a></p>


</div>

Expand Down Expand Up @@ -46103,12 +46106,13 @@ <h4 id=the-textarea-element><span class=secno>4.10.13 </span>The <dfn><code>text
a <code><a href=#the-textarea-element>textarea</a></code> control must be initially the empty
string.</p>

</div>
<p>A newline in a <code><a href=#the-textarea-element>textarea</a></code> element, and in its <a href=#concept-textarea-raw-value title=concept-textarea-raw-value>raw value</a>, should separate
paragraphs for the purposes of the Unicode bidirectional algorithm.
This requirement may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent could implement these
requirements by implementing the CSS 'unicode-bidi' property. <a href=#refsBIDI>[BIDI]</a> <a href=#refsCSS>[CSS]</a></p>

<p class=note>A newline in a <code><a href=#the-textarea-element>textarea</a></code> element, and in
its <a href=#concept-textarea-raw-value title=concept-textarea-raw-value>raw value</a>,
separates paragraphs for the purposes of the Unicode bidirectional
algorithm. <a href=#refsBIDI>[BIDI]</a></p>
</div>

<p>The <dfn id=attr-textarea-readonly title=attr-textarea-readonly><code>readonly</code></dfn> attribute
is a <a href=#boolean-attribute>boolean attribute</a> used to control whether the text
Expand Down Expand Up @@ -46320,14 +46324,7 @@ <h4 id=the-textarea-element><span class=secno>4.10.13 </span>The <dfn><code>text
submitted. The <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code>
attribute controls focus.</p>

<hr><p>If the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is
in the <i title=attr-dir-auto-state><a href=#attr-dir-auto-state>auto</a></i> state, then for the
purposes of the bidirectional algorithm, the user agent must <span class=XXX>act in a manner consistent with the CSS 'white-space:plaintext' feature<!-- see bug 11734 --></span>.
This requirement may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent could implement these
requirements by implementing the CSS 'unicode-bidi' property. <a href=#refsCSS>[CSS]</a></p>

<hr><dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>
<dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>

<dd>

Expand Down
41 changes: 19 additions & 22 deletions index
Expand Up @@ -17813,16 +17813,15 @@ of Gralmond's winters.&lt;/p&gt;</pre>
element can be used within a <code><a href=#the-pre-element>pre</a></code> element to indicate
text that the user is to enter.</p>

<p class=note>A newline in a <code><a href=#the-pre-element>pre</a></code> element separates
paragraphs for the purposes of the Unicode bidirectional algorithm.
<a href=#refsBIDI>[BIDI]</a></p>
<div class=impl>

<p>If the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is
in the <i title=attr-dir-auto-state><a href=#attr-dir-auto-state>auto</a></i> state, then for the
purposes of the bidirectional algorithm, the user agent must <span class=XXX>act in a manner consistent with the CSS 'white-space:plaintext' feature<!-- see bug 11734 --></span>.
<p>A newline in a <code><a href=#the-pre-element>pre</a></code> element should separate
paragraphs for the purposes of the Unicode bidirectional algorithm.
This requirement may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent could implement these
requirements by implementing the CSS 'unicode-bidi' property. <a href=#refsCSS>[CSS]</a></p>
requirements by implementing the CSS 'unicode-bidi' property. <a href=#refsBIDI>[BIDI]</a> <a href=#refsCSS>[CSS]</a></p>

</div>

<div class=example>

Expand Down Expand Up @@ -20857,8 +20856,12 @@ Sydney&lt;/p&gt;</pre>
<p>Any content inside <code><a href=#the-br-element>br</a></code> elements must not be
considered part of the surrounding text.</p>

<p class=note>A <code><a href=#the-br-element>br</a></code> element separates paragraphs for
the purposes of the Unicode bidirectional algorithm. <a href=#refsBIDI>[BIDI]</a></p>
<p>A <code><a href=#the-br-element>br</a></code> element should separate paragraphs for the
purposes of the Unicode bidirectional algorithm. This requirement
may be implemented indirectly through the style layer. For example,
an HTML+CSS user agent could implement these requirements by
implementing the CSS 'unicode-bidi' property. <a href=#refsBIDI>[BIDI]</a> <a href=#refsCSS>[CSS]</a></p>


</div>

Expand Down Expand Up @@ -46086,12 +46089,13 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
a <code><a href=#the-textarea-element>textarea</a></code> control must be initially the empty
string.</p>

</div>
<p>A newline in a <code><a href=#the-textarea-element>textarea</a></code> element, and in its <a href=#concept-textarea-raw-value title=concept-textarea-raw-value>raw value</a>, should separate
paragraphs for the purposes of the Unicode bidirectional algorithm.
This requirement may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent could implement these
requirements by implementing the CSS 'unicode-bidi' property. <a href=#refsBIDI>[BIDI]</a> <a href=#refsCSS>[CSS]</a></p>

<p class=note>A newline in a <code><a href=#the-textarea-element>textarea</a></code> element, and in
its <a href=#concept-textarea-raw-value title=concept-textarea-raw-value>raw value</a>,
separates paragraphs for the purposes of the Unicode bidirectional
algorithm. <a href=#refsBIDI>[BIDI]</a></p>
</div>

<p>The <dfn id=attr-textarea-readonly title=attr-textarea-readonly><code>readonly</code></dfn> attribute
is a <a href=#boolean-attribute>boolean attribute</a> used to control whether the text
Expand Down Expand Up @@ -46303,14 +46307,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
submitted. The <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code>
attribute controls focus.</p>

<hr><p>If the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is
in the <i title=attr-dir-auto-state><a href=#attr-dir-auto-state>auto</a></i> state, then for the
purposes of the bidirectional algorithm, the user agent must <span class=XXX>act in a manner consistent with the CSS 'white-space:plaintext' feature<!-- see bug 11734 --></span>.
This requirement may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent could implement these
requirements by implementing the CSS 'unicode-bidi' property. <a href=#refsCSS>[CSS]</a></p>

<hr><dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>
<dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>

<dd>

Expand Down
48 changes: 21 additions & 27 deletions source
Expand Up @@ -18983,17 +18983,16 @@ of Gralmond's winters.&lt;/p></pre>
element can be used within a <code>pre</code> element to indicate
text that the user is to enter.</p>

<p class="note">A newline in a <code>pre</code> element separates
paragraphs for the purposes of the Unicode bidirectional algorithm.
<a href="#refsBIDI">[BIDI]</a></p>
<div class="impl">

<p>If the element's <code title="attr-dir">dir</code> attribute is
in the <i title="attr-dir-auto-state">auto</i> state, then for the
purposes of the bidirectional algorithm, the user agent must <span class="XXX">act in a manner consistent with the CSS 'white-space:plaintext' feature<!-- see bug 11734 --></span>.
<p>A newline in a <code>pre</code> element should separate
paragraphs for the purposes of the Unicode bidirectional algorithm.
This requirement may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent could implement these
requirements by implementing the CSS 'unicode-bidi' property. <a
href="#refsCSS">[CSS]</a></p>
href="#refsBIDI">[BIDI]</a> <a href="#refsCSS">[CSS]</a></p>

</div>

<div class="example">

Expand Down Expand Up @@ -22270,9 +22269,13 @@ Sydney&lt;/p&gt;</pre>
<p>Any content inside <code>br</code> elements must not be
considered part of the surrounding text.</p>

<p class="note">A <code>br</code> element separates paragraphs for
the purposes of the Unicode bidirectional algorithm. <a
href="#refsBIDI">[BIDI]</a></p>
<p>A <code>br</code> element should separate paragraphs for the
purposes of the Unicode bidirectional algorithm. This requirement
may be implemented indirectly through the style layer. For example,
an HTML+CSS user agent could implement these requirements by
implementing the CSS 'unicode-bidi' property. <a
href="#refsBIDI">[BIDI]</a> <a href="#refsCSS">[CSS]</a></p>


</div>

Expand Down Expand Up @@ -51622,12 +51625,15 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
a <code>textarea</code> control must be initially the empty
string.</p>

</div>
<p>A newline in a <code>textarea</code> element, and in its <span
title="concept-textarea-raw-value">raw value</span>, should separate
paragraphs for the purposes of the Unicode bidirectional algorithm.
This requirement may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent could implement these
requirements by implementing the CSS 'unicode-bidi' property. <a
href="#refsBIDI">[BIDI]</a> <a href="#refsCSS">[CSS]</a></p>

<p class="note">A newline in a <code>textarea</code> element, and in
its <span title="concept-textarea-raw-value">raw value</span>,
separates paragraphs for the purposes of the Unicode bidirectional
algorithm. <a href="#refsBIDI">[BIDI]</a></p>
</div>

<p>The <dfn
title="attr-textarea-readonly"><code>readonly</code></dfn> attribute
Expand Down Expand Up @@ -51884,18 +51890,6 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
submitted. The <code title="attr-fe-autofocus">autofocus</code>
attribute controls focus.</p>

<hr>

<p>If the element's <code title="attr-dir">dir</code> attribute is
in the <i title="attr-dir-auto-state">auto</i> state, then for the
purposes of the bidirectional algorithm, the user agent must <span class="XXX">act in a manner consistent with the CSS 'white-space:plaintext' feature<!-- see bug 11734 --></span>.
This requirement may be implemented indirectly through the style
layer. For example, an HTML+CSS user agent could implement these
requirements by implementing the CSS 'unicode-bidi' property. <a
href="#refsCSS">[CSS]</a></p>

<hr>

<dl class="domintro">

<dt><var title="">textarea</var> . <code title="attr-textarea-type">type</code></dt>
Expand Down

0 comments on commit 4acd0de

Please sign in to comment.