Skip to content

Commit

Permalink
[e] (0) IDL and content attributes can have different defaults, which…
Browse files Browse the repository at this point in the history
… can be confusing. Try to clear some of those up. Let me know if I missed any others.

git-svn-id: http://svn.whatwg.org/webapps@5573 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 1, 2010
1 parent 9558399 commit f03ba09
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions complete.html
Expand Up @@ -17277,7 +17277,8 @@ <h4 id=the-ol-element><span class=secno>4.5.5 </span>The <dfn><code>ol</code></d
<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>

Expand Down Expand Up @@ -30290,7 +30291,7 @@ <h4 id=the-canvas-element><span class=secno>4.8.11 </span>The <dfn id=canvas><co
<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>

Expand Down Expand Up @@ -66939,10 +66940,9 @@ <h4 id=sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>
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>

Expand Down
12 changes: 6 additions & 6 deletions index
Expand Up @@ -17254,7 +17254,8 @@ a friend lost to the
<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>

Expand Down Expand Up @@ -30270,7 +30271,7 @@ interface <dfn id=timedtrackcue>TimedTrackCue</dfn> {
<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>

Expand Down Expand Up @@ -66945,10 +66946,9 @@ interface <dfn id=navigatorabilities>NavigatorAbilities</dfn> {
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>

Expand Down
12 changes: 6 additions & 6 deletions source
Expand Up @@ -18378,7 +18378,8 @@ a friend lost to the
<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>

Expand Down Expand Up @@ -33191,7 +33192,7 @@ interface <dfn>TimedTrackCue</dfn> {
<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>

Expand Down Expand Up @@ -75856,10 +75857,9 @@ interface <dfn>NavigatorAbilities</dfn> {

<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 &#x2212;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 &#x2212;1 for
elements that are not focusable.</p>

</div>

Expand Down

0 comments on commit f03ba09

Please sign in to comment.