HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
588711734[Gecko] [Internet Explorer] [Opera] [Webkit] Update bidi requirements for <pre>, <textarea>, and <br>.2011-02-14 23:52
@@ -18976,31 +18976,30 @@ of Gralmond's winters.&lt;/p></pre>
   presentation, such as a textual description, would be more
   universally accessible to the readers of the document.</p>
 
   <p>To represent a block of computer code, the <code>pre</code>
   element can be used with a <code>code</code> element; to represent a
   block of computer output the <code>pre</code> element can be used
   with a <code>samp</code> element. Similarly, the <code>kbd</code>
   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
    presented.</p>
 
    <pre>&lt;p>This is the &lt;code>Panel&lt;/code> constructor:&lt;/p>
 &lt;pre>&lt;code>function Panel(element, canClose, closeHandler) {
   this.element = element;
   this.canClose = canClose;
@@ -22263,23 +22262,27 @@ Sydney&lt;/p&gt;</pre>
   <p>If a <span>paragraph</span> consists of nothing but a single
   <code>br</code> element, it represents a placeholder blank line
   (e.g. as in a template). Such blank lines must not be used for
   presentation purposes.</p>
 
   <div class="impl">
 
   <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>
 
 
   <h4>The <dfn><code>wbr</code></dfn> element</h4>
 
   <dl class="element">
    <dt>Categories</dt>
    <dd><span>Flow content</span>.</dd>
    <dd><span>Phrasing content</span>.</dd>
@@ -51615,26 +51618,29 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
   element's <dfn title="concept-textarea-raw-value">raw
   value</dfn></span>. The contents of the control represent the
   control's default value.</p>
 
   <div class="impl">
 
   <p>The <span title="concept-textarea-raw-value">raw value</span> of
   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
   is a <span>boolean attribute</span> used to control whether the text
   can be edited by the user or not.</p>
 
   <div class="impl">
 
   <p><strong>Constraint validation</strong>: If the <code
   title="attr-textarea-readonly">readonly</code> attribute is
@@ -51877,32 +51883,20 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
 
   <p>The <code title="attr-fae-form">form</code> attribute is used to
   explicitly associate the <code>textarea</code> element with its
   <span>form owner</span>. The <code title="attr-fe-name">name</code>
   attribute represents the element's name. The <code
   title="attr-fe-disabled">disabled</code> attribute is used to make
   the control non-interactive and to prevent its value from being
   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>
 
    <dd>
 
     <p>Returns the string "<code title="">textarea</code>".</p>
 
    </dd>
 

|