hixie: IDL and content attributes can have different defaults, which can be confusing. Try to clear some of those up. Let me know if I missed any others. (whatwg r5573)

hixie: IDL and content attributes can have different defaults, which can
be confusing. Try to clear some of those up. Let me know if I missed any
others. (whatwg r5573)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4454&r2=1.4455&f=h
http://html5.org/tools/web-apps-tracker?from=5572&to=5573

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4454
retrieving revision 1.4455
diff -u -d -r1.4454 -r1.4455
--- Overview.html 1 Oct 2010 06:13:58 -0000 1.4454
+++ Overview.html 1 Oct 2010 18:56:37 -0000 1.4455
@@ -15026,7 +15026,8 @@
   <p>The <dfn id="dom-ol-reversed" title="dom-ol-reversed"><code>reversed</code></dfn>,
   <dfn id="dom-ol-start" title="dom-ol-start"><code>start</code></dfn>, and <dfn id="dom-ol-type" title="dom-ol-type"><code>type</code></dfn> IDL attributes must
   <a href="#reflect">reflect</a> the respective content attributes of the same
-  name.</p>
+  name. The <code title="dom-ol-start"><a href="#dom-ol-start">start</a></code> IDL attribute has
+  the same default as its content attribute.</p>
 
   </div><div class="example">
 
@@ -23562,7 +23563,7 @@
   <p>The <dfn id="dom-canvas-width" title="dom-canvas-width"><code>width</code></dfn> and
   <dfn id="dom-canvas-height" title="dom-canvas-height"><code>height</code></dfn> IDL
   attributes must <a href="#reflect">reflect</a> the respective content
-  attributes of the same name.</p>
+  attributes of the same name, with the same defaults.</p>
 
   </div><div class="example">
    <p>Only one square appears to be drawn in the following example:</p>
@@ -49444,10 +49445,9 @@
   element is focused).</p>
 
   <p>The <dfn id="dom-tabindex" title="dom-tabIndex"><code>tabIndex</code></dfn> IDL
-  attribute must <a href="#reflect">reflect</a> the value of the <code title="attr-tabindex"><a href="#attr-tabindex">tabindex</a></code> content attribute. If the
-  attribute is not present, or parsing its value returns an error,
-  then the IDL attribute must return 0 for elements that are focusable
-  and &minus;1 for elements that are not focusable.</p>
+  attribute must <a href="#reflect">reflect</a> the value of the <code title="attr-tabindex"><a href="#attr-tabindex">tabindex</a></code> content attribute. Its default
+  value is 0 for elements that are focusable and &minus;1 for
+  elements that are not focusable.</p>
 
   </div><div class="impl">

Received on Friday, 1 October 2010 18:57:47 UTC