Skip to content
Permalink
Browse files

[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

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 829035c5195b492001a4098d8e4f6a4ecaf539c7
Showing with 83 additions and 26 deletions.
  1. +26 −9 complete.html
  2. +26 −9 index
  3. +31 −8 source
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
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

<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
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>

35 index
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
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

<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
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>

39 source
@@ -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>
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

<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
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>

0 comments on commit 829035c

Please sign in to comment.
You can’t perform that action at this time.