W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2009

spec/Overview.html 1.1944 2774 Recommend using dir='' rather than CSS.

From: poot <cvsmail@w3.org>
Date: Tue, 10 Feb 2009 19:33:33 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090210103333.7A1532BCB3@toro.w3.mag.keio.ac.jp>

Recommend using dir='' rather than CSS. (whatwg r2774)

dir
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1944.html#dom-document-dir
3.3.3.6 The class attribute
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1944.html#classes

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1943&r2=1.1944&f=h
http://html5.org/tools/web-apps-tracker?from=2773&to=2774

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1943
retrieving revision 1.1944
diff -u -d -r1.1943 -r1.1944
--- Overview.html	10 Feb 2009 09:28:26 -0000	1.1943
+++ Overview.html	10 Feb 2009 10:30:39 -0000	1.1944
@@ -5956,7 +5956,10 @@
   attribute of <a href=#the-html-element-0>the <code>html</code> element</a>, if any,
   <a href=#limited-to-only-known-values>limited to only known values</a>. If there is no such
   element, then the attribute must return the empty string and do
-  nothing on setting.<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
+  nothing on setting.<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).<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
   <code title=attr-class><a href=#classes>class</a></code> attribute specified.<p>The attribute, if specified, must have a value that is an
   <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a>
   representing the various classes that the element belongs to.<p>The classes that an <a href=#html-elements title="HTML elements">HTML
Received on Tuesday, 10 February 2009 10:34:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:58 GMT