Permalink
Browse files

[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...
1 parent 829035c commit 4acd0dedab74eba5a4e7c151b1cb55ba62d188d4 @Hixie Hixie committed Feb 14, 2011
Showing with 59 additions and 71 deletions.
  1. +19 −22 complete.html
  2. +19 −22 index
  3. +21 −27 source
View
41 complete.html
@@ -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>
@@ -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>
@@ -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
@@ -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>
View
41 index
@@ -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>
@@ -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>
@@ -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
@@ -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>
View
48 source
@@ -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">
@@ -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>
@@ -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
@@ -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>

0 comments on commit 4acd0de

Please sign in to comment.