Skip to content

Commit

Permalink
[e] (0) Incomplete requirement text for <pre dir=auto> and <textarea …
Browse files Browse the repository at this point in the history
…dir=auta> (blocked on getting spec for white-space:plaintext)

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11734

git-svn-id: http://svn.whatwg.org/webapps@5886 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 14, 2011
1 parent 1d3d718 commit 829035c
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 26 deletions.
35 changes: 26 additions & 9 deletions complete.html
Expand Up @@ -9957,6 +9957,9 @@ <h5 id=the-dir-attribute><span class=secno>3.2.3.5 </span>The <dfn title=attr-di
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
Expand Down Expand Up @@ -17834,6 +17837,13 @@ <h4 id=the-pre-element><span class=secno>4.5.3 </span>The <dfn><code>pre</code><
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
Expand Down Expand Up @@ -20732,19 +20742,19 @@ <h4 id=the-bdo-element><span class=secno>4.6.23 </span>The <dfn><code>bdo</code>

<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
Expand Down Expand Up @@ -46310,7 +46320,14 @@ <h4 id=the-textarea-element><span class=secno>4.10.13 </span>The <dfn><code>text
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>

Expand Down
35 changes: 26 additions & 9 deletions index
Expand Up @@ -9937,6 +9937,9 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>
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
Expand Down Expand Up @@ -17814,6 +17817,13 @@ of Gralmond's winters.&lt;/p&gt;</pre>
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
Expand Down Expand Up @@ -20712,19 +20722,19 @@ wormhole connection.&lt;/mark&gt;&lt;/p&gt;</pre>

<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
Expand Down Expand Up @@ -46293,7 +46303,14 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
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>

Expand Down
39 changes: 31 additions & 8 deletions source
Expand Up @@ -10109,6 +10109,9 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>
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>
Expand Down Expand Up @@ -18984,6 +18987,14 @@ of Gralmond's winters.&lt;/p></pre>
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
Expand Down Expand Up @@ -22116,19 +22127,19 @@ wormhole connection.&lt;/mark>&lt;/p></pre>

<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
Expand Down Expand Up @@ -51873,6 +51884,18 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
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>
Expand Down

0 comments on commit 829035c

Please sign in to comment.