[html5] r5887 - [giow] (2) Update bidi requirements for <pre>, <textarea>, and <br>. Fixing http [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Feb 14 15:52:17 PST 2011


Author: ianh
Date: 2011-02-14 15:52:15 -0800 (Mon, 14 Feb 2011)
New Revision: 5887

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Update bidi requirements for <pre>, <textarea>, and <br>.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11734

Modified: complete.html
===================================================================
--- complete.html	2011-02-14 23:27:17 UTC (rev 5886)
+++ complete.html	2011-02-14 23:52:15 UTC (rev 5887)
@@ -17833,17 +17833,16 @@
   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>
 
    <p>In the following snippet, a sample of computer code is
@@ -20877,9 +20876,13 @@
   <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,13 +46106,14 @@
   a <code><a href=#the-textarea-element>textarea</a></code> control must be initially the empty
   string.</p>
 
+  <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>
+
   </div>
 
-  <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>
-
   <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
   can be edited by the user or not.</p>
@@ -46320,15 +46324,8 @@
   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>
+  <dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>
 
-  <hr><dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>
-
    <dd>
 
     <p>Returns the string "<code title="">textarea</code>".</p>

Modified: index
===================================================================
--- index	2011-02-14 23:27:17 UTC (rev 5886)
+++ index	2011-02-14 23:52:15 UTC (rev 5887)
@@ -17813,17 +17813,16 @@
   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>
 
    <p>In the following snippet, a sample of computer code is
@@ -20857,9 +20856,13 @@
   <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,13 +46089,14 @@
   a <code><a href=#the-textarea-element>textarea</a></code> control must be initially the empty
   string.</p>
 
+  <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>
+
   </div>
 
-  <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>
-
   <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
   can be edited by the user or not.</p>
@@ -46303,15 +46307,8 @@
   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>
+  <dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>
 
-  <hr><dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>
-
    <dd>
 
     <p>Returns the string "<code title="">textarea</code>".</p>

Modified: source
===================================================================
--- source	2011-02-14 23:27:17 UTC (rev 5886)
+++ source	2011-02-14 23:52:15 UTC (rev 5887)
@@ -18983,18 +18983,17 @@
   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">
 
    <p>In the following snippet, a sample of computer code is
@@ -22270,10 +22269,14 @@
   <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,13 +51625,16 @@
   a <code>textarea</code> control must be initially the empty
   string.</p>
 
+  <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>
+
   </div>
 
-  <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>
-
   <p>The <dfn
   title="attr-textarea-readonly"><code>readonly</code></dfn> attribute
   is a <span>boolean attribute</span> used to control whether the text
@@ -51884,18 +51890,6 @@
   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>




More information about the Commit-Watchers mailing list