HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/5887

File a bug

SVNBugCommentTime (UTC)
588711734[Gecko] [Internet Explorer] [Opera] [Webkit] Update bidi requirements for <pre>, <textarea>, and <br>.2011-02-14 23:52
Index: source
===================================================================
--- source	(revision 5886)
+++ source	(revision 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>

|