[html5] r2774 - [e] (0) Recommend using dir='' rather than CSS.

whatwg at whatwg.org whatwg at whatwg.org
Tue Feb 10 02:30:34 PST 2009


Author: ianh
Date: 2009-02-10 02:30:32 -0800 (Tue, 10 Feb 2009)
New Revision: 2774

Modified:
   index
   source
Log:
[e] (0) Recommend using dir='' rather than CSS.

Modified: index
===================================================================
--- index	2009-02-10 09:28:21 UTC (rev 2773)
+++ index	2009-02-10 10:30:32 UTC (rev 2774)
@@ -7207,7 +7207,12 @@
   element, then the attribute must return the empty string and do
   nothing on setting.</p>
 
+  <p class=note>Authors are strongly encouraged to use the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute to indicate text direction
+  rather than using CSS, since that way their documents will continue
+  to render correctly even in the absence of CSS (e.g. as interpreted
+  by search engines).</p>
 
+
   <h5 id=classes><span class=secno>3.3.3.6 </span>The <dfn title=attr-class><code>class</code></dfn> attribute</h5>
 
   <p>Every <a href=#html-elements title="HTML elements">HTML element</a> may have a

Modified: source
===================================================================
--- source	2009-02-10 09:28:21 UTC (rev 2773)
+++ source	2009-02-10 10:30:32 UTC (rev 2774)
@@ -7304,7 +7304,13 @@
   element, then the attribute must return the empty string and do
   nothing on setting.</p>
 
+  <p class="note">Authors are strongly encouraged to use the <code
+  title="attr-dir">dir</code> attribute to indicate text direction
+  rather than using CSS, since that way their documents will continue
+  to render correctly even in the absence of CSS (e.g. as interpreted
+  by search engines).</p>
 
+
   <h5 id="classes">The <dfn title="attr-class"><code>class</code></dfn> attribute</h5>
 
   <p>Every <span title="HTML elements">HTML element</span> may have a




More information about the Commit-Watchers mailing list