[html5] r5573 - [e] (0) IDL and content attributes can have different defaults, which can be con [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Oct 1 11:56:32 PDT 2010
Author: ianh
Date: 2010-10-01 11:56:31 -0700 (Fri, 01 Oct 2010)
New Revision: 5573
Modified:
complete.html
index
source
Log:
[e] (0) 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.
Modified: complete.html
===================================================================
--- complete.html 2010-10-01 06:13:53 UTC (rev 5572)
+++ complete.html 2010-10-01 18:56:31 UTC (rev 5573)
@@ -17277,7 +17277,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>
@@ -30290,7 +30291,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>
@@ -66939,10 +66940,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 −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 −1 for
+ elements that are not focusable.</p>
</div>
Modified: index
===================================================================
--- index 2010-10-01 06:13:53 UTC (rev 5572)
+++ index 2010-10-01 18:56:31 UTC (rev 5573)
@@ -17254,7 +17254,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>
@@ -30270,7 +30271,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>
@@ -66945,10 +66946,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 −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 −1 for
+ elements that are not focusable.</p>
</div>
Modified: source
===================================================================
--- source 2010-10-01 06:13:53 UTC (rev 5572)
+++ source 2010-10-01 18:56:31 UTC (rev 5573)
@@ -18378,7 +18378,8 @@
<dfn title="dom-ol-start"><code>start</code></dfn>, and <dfn
title="dom-ol-type"><code>type</code></dfn> IDL attributes must
<span>reflect</span> the respective content attributes of the same
- name.</p>
+ name. The <code title="dom-ol-start">start</code> IDL attribute has
+ the same default as its content attribute.</p>
</div>
@@ -33191,7 +33192,7 @@
<p>The <dfn title="dom-canvas-width"><code>width</code></dfn> and
<dfn title="dom-canvas-height"><code>height</code></dfn> IDL
attributes must <span>reflect</span> the respective content
- attributes of the same name.</p>
+ attributes of the same name, with the same defaults.</p>
</div>
@@ -75856,10 +75857,9 @@
<p>The <dfn title="dom-tabIndex"><code>tabIndex</code></dfn> IDL
attribute must <span>reflect</span> the value of the <code
- title="attr-tabindex">tabindex</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 −1 for elements that are not focusable.</p>
+ title="attr-tabindex">tabindex</code> content attribute. Its default
+ value is 0 for elements that are focusable and −1 for
+ elements that are not focusable.</p>
</div>
More information about the Commit-Watchers
mailing list