[html5] r5886 - [e] (0) Incomplete requirement text for <pre dir=auto> and <textarea dir=auta> ( [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Feb 14 15:27:20 PST 2011
Author: ianh
Date: 2011-02-14 15:27:17 -0800 (Mon, 14 Feb 2011)
New Revision: 5886
Modified:
complete.html
index
source
Log:
[e] (0) Incomplete requirement text for <pre dir=auto> and <textarea dir=auta> (blocked on getting spec for white-space:plaintext)
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11734
Modified: complete.html
===================================================================
--- complete.html 2011-02-14 22:51:03 UTC (rev 5885)
+++ complete.html 2011-02-14 23:27:17 UTC (rev 5886)
@@ -9957,6 +9957,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
@@ -17834,6 +17837,13 @@
paragraphs for the purposes of the Unicode bidirectional algorithm.
<a href=#refsBIDI>[BIDI]</a></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-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>
+
<div class=example>
<p>In the following snippet, a sample of computer code is
@@ -20732,19 +20742,19 @@
<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
@@ -46310,8 +46320,15 @@
submitted. The <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code>
attribute controls focus.</p>
- <dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>
+ <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>
+
<dd>
<p>Returns the string "<code title="">textarea</code>".</p>
Modified: index
===================================================================
--- index 2011-02-14 22:51:03 UTC (rev 5885)
+++ index 2011-02-14 23:27:17 UTC (rev 5886)
@@ -9937,6 +9937,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
@@ -17814,6 +17817,13 @@
paragraphs for the purposes of the Unicode bidirectional algorithm.
<a href=#refsBIDI>[BIDI]</a></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-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>
+
<div class=example>
<p>In the following snippet, a sample of computer code is
@@ -20712,19 +20722,19 @@
<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
@@ -46293,8 +46303,15 @@
submitted. The <code title=attr-fe-autofocus><a href=#attr-fe-autofocus>autofocus</a></code>
attribute controls focus.</p>
- <dl class=domintro><dt><var title="">textarea</var> . <code title=attr-textarea-type>type</code></dt>
+ <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>
+
<dd>
<p>Returns the string "<code title="">textarea</code>".</p>
Modified: source
===================================================================
--- source 2011-02-14 22:51:03 UTC (rev 5885)
+++ source 2011-02-14 23:27:17 UTC (rev 5886)
@@ -10109,6 +10109,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>textarea</code> and <code>pre</code>
+ elements, the heuristic is applied on a per-paragraph level.</p>
+
</dd>
</dl>
@@ -18984,6 +18987,14 @@
paragraphs for the purposes of the Unicode bidirectional algorithm.
<a href="#refsBIDI">[BIDI]</a></p>
+ <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>
+
<div class="example">
<p>In the following snippet, a sample of computer code is
@@ -22116,19 +22127,19 @@
<div class="impl">
- <p>If the element has the <code title="attr-dir">dir</code>
- attribute set to the exact value <code>ltr</code>, then for the
+ <p>If the element's <code title="attr-dir">dir</code> attribute is
+ in the <i title="attr-dir-rtl-state">rtl</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">dir</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">dir</code> attribute is
+ in the <i title="attr-dir-ltr-state">ltr</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>bdo</code> element for the
bidirectional algorithm may be implemented indirectly through the
@@ -51873,6 +51884,18 @@
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