hixie: Incomplete requirement text for <pre dir=auto> and <textarea dir=auta> (blocked on getting spec for white-space:plaintext) (whatwg r5886)

hixie: Incomplete requirement text for <pre dir=auto> and <textarea
dir=auta> (blocked on getting spec for white-space:plaintext) (whatwg
r5886)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4727&r2=1.4728&f=h
http://html5.org/tools/web-apps-tracker?from=5885&to=5886

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4727
retrieving revision 1.4728
diff -u -d -r1.4727 -r1.4728
--- Overview.html 14 Feb 2011 22:51:08 -0000 1.4727
+++ Overview.html 14 Feb 2011 23:27:24 -0000 1.4728
@@ -8593,6 +8593,9 @@
     as a last resort when the direction of the text is truly unknown
     and no better server-side heuristic can be applied.</p>
 
+    <p class="note">For <code><a href="#the-textarea-element">textarea</a></code> and <code><a href="#the-pre-element">pre</a></code>
+    elements, the heuristic is applied on a per-paragraph level.</p>
+
    </dd>
 
   </dl><p>The attribute has no <i>invalid value default</i> and no
@@ -15497,7 +15500,12 @@
   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 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><div class="example">
+  <a href="#refsBIDI">[BIDI]</a><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><div class="example">
 
    <p>In the following snippet, a sample of computer code is
    presented.</p>
@@ -17859,19 +17867,19 @@
   specify a left-to-right override and with the value <code>rtl</code>
   to specify a right-to-left override.<div class="impl">
 
-  <p>If the element has the <code title="attr-dir"><a href="#the-dir-attribute">dir</a></code>
-  attribute set to the exact value <code>ltr</code>, then for the
+  <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-rtl-state"><a href="#attr-dir-rtl-state">rtl</a></i> state, then for the
   purposes of the bidirectional algorithm, the user agent must act as
   if there was a U+202D LEFT-TO-RIGHT OVERRIDE character at the start
   of the element, and a U+202C POP DIRECTIONAL FORMATTING at the end
   of the element.</p>
 
-  <p>If the element has the <code title="attr-dir"><a href="#the-dir-attribute">dir</a></code>
-  attribute set to the exact value <code>rtl</code>, then for the
-  purposes of the bidirectional algorithm, the user agent must act as
-  if there was a U+202E RIGHT-TO-LEFT OVERRIDE character at the start
-  of the element, and a U+202C POP DIRECTIONAL FORMATTING at the end
-  of the element.</p>
+  <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-ltr-state"><a href="#attr-dir-ltr-state">ltr</a></i>, then for the purposes
+  of the bidirectional algorithm, the user agent must act as if there
+  was a U+202E RIGHT-TO-LEFT OVERRIDE character at the start of the
+  element, and a U+202C POP DIRECTIONAL FORMATTING at the end of the
+  element.</p>
 
   <p>The requirements on handling the <code><a href="#the-bdo-element">bdo</a></code> element for the
   bidirectional algorithm may be implemented indirectly through the
@@ -36398,7 +36406,12 @@
   attribute represents the element's name. The <code title="attr-fe-disabled"><a href="#attr-fe-disabled">disabled</a></code> attribute is used to make
   the control non-interactive and to prevent its value from being
   submitted. The <code title="attr-fe-autofocus"><a href="#attr-fe-autofocus">autofocus</a></code>
-  attribute controls focus.<dl class="domintro"><dt><var title="">textarea</var> . <code title="attr-textarea-type">type</code></dt>
+  attribute controls focus.<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><hr><dl class="domintro"><dt><var title="">textarea</var> . <code title="attr-textarea-type">type</code></dt>
 
    <dd>

Received on Monday, 14 February 2011 23:28:39 UTC