[html5] r7863 - [giow] (2) Work on dir=auto. More work may come. Fixing https://www.w3.org/Bugs/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 30 11:14:44 PDT 2013


Author: ianh
Date: 2013-04-30 11:14:42 -0700 (Tue, 30 Apr 2013)
New Revision: 7863

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Work on dir=auto. More work may come.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17835
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-04-30 04:07:34 UTC (rev 7862)
+++ complete.html	2013-04-30 18:14:42 UTC (rev 7863)
@@ -9734,10 +9734,12 @@
 
    <dt>If the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is in the <a href=#attr-dir-rtl-state title=attr-dir-rtl-state>rtl</a> state</dt>
 
+   <dt>If the element is an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</a> state, and the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is in the <a href=#attr-dir-auto-state title=attr-dir-auto-state>auto</a> state</dt>
+
    <dd><p><a href=#the-directionality>The directionality</a> of the element is '<a href=#concept-rtl title=concept-rtl>rtl</a>'.</dd>
 
 
-   <dt>If the element is an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>, <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>, <a href="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</a>, <a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>, or <a href="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</a> state, and the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is in the <a href=#attr-dir-auto-state title=attr-dir-auto-state>auto</a> state</dt>
+   <dt>If the element is an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>, <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>, <a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>, or <a href="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</a> state, and the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is in the <a href=#attr-dir-auto-state title=attr-dir-auto-state>auto</a> state</dt>
 
    <dt>If the element is a <code><a href=#the-textarea-element>textarea</a></code> element and the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code>
    attribute is in the <a href=#attr-dir-auto-state title=attr-dir-auto-state>auto</a> state</dt>
@@ -9750,15 +9752,10 @@
     <a href=#the-directionality>the directionality</a> of the element is '<a href=#concept-rtl title=concept-rtl>rtl</a>'.
     <a href=#refsBIDI>[BIDI]</a></p>
 
-    <p>If the element's <a href=#concept-fe-value title=concept-fe-value>value</a> contains a character of
-    bidirectional character type L, and there is no character of bidirectional character type
-    AL or R anywhere before it in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>, then
-    <a href=#the-directionality>the directionality</a> of the element is '<a href=#concept-ltr title=concept-ltr>ltr</a>'.
-    <a href=#refsBIDI>[BIDI]</a></p>
+    <p>Otherwise, if the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is not the empty
+    string, or if the element is a <a href=#root-element>root element</a>, <a href=#the-directionality>the directionality</a> of the
+    element is '<a href=#concept-ltr title=concept-ltr>ltr</a>'.</p>
 
-    <p>Otherwise, if the element is a <a href=#root-element>root element</a>, <a href=#the-directionality>the directionality</a> of
-    the element is '<a href=#concept-ltr title=concept-ltr>ltr</a>'.</p>
-
     <p>Otherwise, <a href=#the-directionality>the directionality</a> of the element is the same as the element's parent
     element's <a href=#the-directionality title="the directionality">directionality</a>.</p>
 

Modified: index
===================================================================
--- index	2013-04-30 04:07:34 UTC (rev 7862)
+++ index	2013-04-30 18:14:42 UTC (rev 7863)
@@ -9734,10 +9734,12 @@
 
    <dt>If the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is in the <a href=#attr-dir-rtl-state title=attr-dir-rtl-state>rtl</a> state</dt>
 
+   <dt>If the element is an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</a> state, and the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is in the <a href=#attr-dir-auto-state title=attr-dir-auto-state>auto</a> state</dt>
+
    <dd><p><a href=#the-directionality>The directionality</a> of the element is '<a href=#concept-rtl title=concept-rtl>rtl</a>'.</dd>
 
 
-   <dt>If the element is an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>, <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>, <a href="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</a>, <a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>, or <a href="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</a> state, and the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is in the <a href=#attr-dir-auto-state title=attr-dir-auto-state>auto</a> state</dt>
+   <dt>If the element is an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>, <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>, <a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>, or <a href="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</a> state, and the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is in the <a href=#attr-dir-auto-state title=attr-dir-auto-state>auto</a> state</dt>
 
    <dt>If the element is a <code><a href=#the-textarea-element>textarea</a></code> element and the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code>
    attribute is in the <a href=#attr-dir-auto-state title=attr-dir-auto-state>auto</a> state</dt>
@@ -9750,15 +9752,10 @@
     <a href=#the-directionality>the directionality</a> of the element is '<a href=#concept-rtl title=concept-rtl>rtl</a>'.
     <a href=#refsBIDI>[BIDI]</a></p>
 
-    <p>If the element's <a href=#concept-fe-value title=concept-fe-value>value</a> contains a character of
-    bidirectional character type L, and there is no character of bidirectional character type
-    AL or R anywhere before it in the element's <a href=#concept-fe-value title=concept-fe-value>value</a>, then
-    <a href=#the-directionality>the directionality</a> of the element is '<a href=#concept-ltr title=concept-ltr>ltr</a>'.
-    <a href=#refsBIDI>[BIDI]</a></p>
+    <p>Otherwise, if the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is not the empty
+    string, or if the element is a <a href=#root-element>root element</a>, <a href=#the-directionality>the directionality</a> of the
+    element is '<a href=#concept-ltr title=concept-ltr>ltr</a>'.</p>
 
-    <p>Otherwise, if the element is a <a href=#root-element>root element</a>, <a href=#the-directionality>the directionality</a> of
-    the element is '<a href=#concept-ltr title=concept-ltr>ltr</a>'.</p>
-
     <p>Otherwise, <a href=#the-directionality>the directionality</a> of the element is the same as the element's parent
     element's <a href=#the-directionality title="the directionality">directionality</a>.</p>
 

Modified: source
===================================================================
--- source	2013-04-30 04:07:34 UTC (rev 7862)
+++ source	2013-04-30 18:14:42 UTC (rev 7863)
@@ -9653,6 +9653,12 @@
    <dt>If the element's <code title="attr-dir">dir</code> attribute is in the <span
    title="attr-dir-rtl-state">rtl</span> state</dt>
 
+   <dt>If the element is an <code>input</code> element whose <code
+   title="attr-input-type">type</code> attribute is in the <span
+   title="attr-input-type-tel">Telephone</span> state, and the <code
+   title="attr-dir">dir</code> attribute is in the <span
+   title="attr-dir-auto-state">auto</span> state</dt>
+
    <dd><p><span>The directionality</span> of the element is '<span
    title="concept-rtl">rtl</span>'.</p></dd>
 
@@ -9661,7 +9667,6 @@
    title="attr-input-type">type</code> attribute is in the <span
    title="attr-input-type-text">Text</span>, <span
    title="attr-input-type-search">Search</span>, <span
-   title="attr-input-type-tel">Telephone</span>, <span
    title="attr-input-type-url">URL</span>, or <span
    title="attr-input-type-email">E-mail</span> state, and the <code
    title="attr-dir">dir</code> attribute is in the <span
@@ -9678,15 +9683,10 @@
     <span>the directionality</span> of the element is '<span title="concept-rtl">rtl</span>'.
     <a href="#refsBIDI">[BIDI]</a></p>
 
-    <p>If the element's <span title="concept-fe-value">value</span> contains a character of
-    bidirectional character type L, and there is no character of bidirectional character type
-    AL or R anywhere before it in the element's <span title="concept-fe-value">value</span>, then
-    <span>the directionality</span> of the element is '<span title="concept-ltr">ltr</span>'.
-    <a href="#refsBIDI">[BIDI]</a></p>
+    <p>Otherwise, if the element's <span title="concept-fe-value">value</span> is not the empty
+    string, or if the element is a <span>root element</span>, <span>the directionality</span> of the
+    element is '<span title="concept-ltr">ltr</span>'.</p>
 
-    <p>Otherwise, if the element is a <span>root element</span>, <span>the directionality</span> of
-    the element is '<span title="concept-ltr">ltr</span>'.</p>
-
     <p>Otherwise, <span>the directionality</span> of the element is the same as the element's parent
     element's <span title="the directionality">directionality</span>.</p>
 




More information about the Commit-Watchers mailing list