[html5] r850 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu May 31 18:04:53 PDT 2007


Author: ianh
Date: 2007-05-31 18:04:52 -0700 (Thu, 31 May 2007)
New Revision: 850

Modified:
   index
   source
Log:
[] (0) Support document.dir (see also the last checkin, which accidentally included some of these changes)

Modified: index
===================================================================
--- index	2007-06-01 01:01:12 UTC (rev 849)
+++ index	2007-06-01 01:04:52 UTC (rev 850)
@@ -2370,6 +2370,7 @@
            attribute DOMString <a href="#domain" title=dom-document-domain>domain</a>;
   readonly attribute DOMString <a href="#referrer" title=dom-document-referrer>referrer</a>;
            attribute DOMString <a href="#cookie0" title=dom-document-cookie>cookie</a>;
+           attribute DOMString <a href="#dir1" title=dom-dir>dir</a>;
 
   // <a href="#dom-tree0">DOM tree accessors</a>
            attribute DOMString <a href="#document.title" title=dom-document-title>title</a>;
@@ -2538,7 +2539,7 @@
            attribute DOMString <a href="#id0" title=dom-id>id</a>;
            attribute DOMString <a href="#title0" title=dom-title>title</a>;
            attribute DOMString <a href="#lang0" title=dom-lang>lang</a>;
-           attribute DOMString <a href="#dir0" title=dom-dir>dir</a>;
+           attribute DOMString <a href="#dir1" title=dom-dir>dir</a>;
            attribute <span>DOMString</span> <a href="#classname" title=dom-className>className</a>;
   readonly attribute <a href="#domtokenlist0">DOMTokenList</a> <a href="#classlist" title=dom-classList>classList</a>;
 
@@ -6392,11 +6393,19 @@
    'direction' and 'unicode-bidi' properties, and defines rendering in terms
    of those properties.
 
-  <p>The <dfn id=dir0 title=dom-dir><code>dir</code></dfn> DOM attribute must
-   <a href="#reflect">reflect</a> the <code title=attr-dir><a
-   href="#dir">dir</a></code> content attribute, <a href="#limited">limited
-   to only known values</a>.
+  <p>The <dfn id=dir0 title=dom-dir><code>dir</code></dfn> DOM attribute on
+   an element must <a href="#reflect">reflect</a> the <code title=attr-dir><a
+   href="#dir">dir</a></code> content attribute of that element, <a
+   href="#limited">limited to only known values</a>.
 
+  <p>The <dfn id=dir1 title=dom-dir><code>dir</code></dfn> DOM attribute on
+   <code><a href="#htmldocument">HTMLDocument</a></code> objects must <a
+   href="#reflect">reflect</a> the <code title=attr-dir><a
+   href="#dir">dir</a></code> content attribute of <a href="#the-html0">the
+   <code>html</code> element</a>, if any, <a href="#limited">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.
+
   <h4 id=classes><span class=secno>3.4.5. </span>The <dfn id=class
    title=attr-class><code>class</code></dfn> attribute</h4>
 

Modified: source
===================================================================
--- source	2007-06-01 01:01:12 UTC (rev 849)
+++ source	2007-06-01 01:04:52 UTC (rev 850)
@@ -5047,9 +5047,12 @@
   title="attr-dir">dir</code> content attribute of that element,
   <span>limited to only known values</span>.</p>
 
-  <p>The <dfn title="dom-dir"><code>dir</code></dfn> DOM attribute
-  must <span>reflect</span> the <code title="attr-dir">dir</code>
-  content attribute, <span>limited to only known values</span>.</p>
+  <p>The <dfn title="dom-dir"><code>dir</code></dfn> DOM attribute on
+  <code>HTMLDocument</code> objects must <span>reflect</span> the
+  <code title="attr-dir">dir</code> content attribute of <span>the
+  <code>html</code> element</span>, if any, <span>limited to only
+  known values</span>. If there is no such element, then the attribute
+  must return the empty string and do nothing on setting.</p>
 
 
   <h4 id="classes">The <dfn title="attr-class"><code>class</code></dfn> attribute</h4>




More information about the Commit-Watchers mailing list