Skip to content

Commit

Permalink
[agiow] (1) Make a number of enumerated IDL attributes be limited to …
Browse files Browse the repository at this point in the history
…known values, for ease of feature testing.

git-svn-id: http://svn.whatwg.org/webapps@5360 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 26, 2010
1 parent 73c9444 commit 4daa6b2
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 19 deletions.
16 changes: 11 additions & 5 deletions complete.html
Expand Up @@ -24122,9 +24122,11 @@ <h4 id=the-track-element><span class=secno>4.8.9 </span>The <dfn><code>track</co
<a href=#timed-track>timed track</a>'s corresponding <code><a href=#timedtrack>TimedTrack</a></code>
object.</p>

<p>The IDL attributes <dfn id=dom-track-kind title=dom-track-kind><code>kind</code></dfn>, <dfn id=dom-track-label title=dom-track-label><code>label</code></dfn>, <dfn id=dom-track-src title=dom-track-src><code>src</code></dfn>, and <dfn id=dom-track-srclang title=dom-track-srclang><code>srclang</code></dfn> must
<a href=#reflect>reflect</a> the respective content attributes of the same
name.</p>
<p>The <dfn id=dom-track-label title=dom-track-label><code>label</code></dfn>, <dfn id=dom-track-src title=dom-track-src><code>src</code></dfn>, and <dfn id=dom-track-srclang title=dom-track-srclang><code>srclang</code></dfn> IDL attributes
must <a href=#reflect>reflect</a> the respective content attributes of the
same name. The <dfn id=dom-track-kind title=dom-track-kind><code>kind</code></dfn>
IDL attributemust <a href=#reflect>reflect</a> the content attribute of the
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

</div>

Expand Down Expand Up @@ -25351,7 +25353,7 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the

<p>The <dfn id=dom-media-preload title=dom-media-preload><code>preload</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name.</p>
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

</div>

Expand Down Expand Up @@ -49443,7 +49445,11 @@ <h4 id=the-command><span class=secno>4.11.3 </span>The <dfn><code>command</code>

<div class=impl>

<p>The <dfn id=dom-command-type title=dom-command-type><code>type</code></dfn>, <dfn id=dom-command-label title=dom-command-label><code>label</code></dfn>, <dfn id=dom-command-icon title=dom-command-icon><code>icon</code></dfn>, <dfn id=dom-command-disabled title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=dom-command-checked title=dom-command-checked><code>checked</code></dfn>, and <dfn id=dom-command-radiogroup title=dom-command-radiogroup><code>radiogroup</code></dfn><!--,
<p>The <dfn id=dom-command-type title=dom-command-type><code>type</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

<p>The <dfn id=dom-command-label title=dom-command-label><code>label</code></dfn>, <dfn id=dom-command-icon title=dom-command-icon><code>icon</code></dfn>, <dfn id=dom-command-disabled title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=dom-command-checked title=dom-command-checked><code>checked</code></dfn>, and <dfn id=dom-command-radiogroup title=dom-command-radiogroup><code>radiogroup</code></dfn><!--,
and <dfn title="dom-command-default"><code>default</code></dfn>-->
IDL attributes must <a href=#reflect>reflect</a> the respective content
attributes of the same name.</p>
Expand Down
16 changes: 11 additions & 5 deletions index
Expand Up @@ -24047,9 +24047,11 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
<a href=#timed-track>timed track</a>'s corresponding <code><a href=#timedtrack>TimedTrack</a></code>
object.</p>

<p>The IDL attributes <dfn id=dom-track-kind title=dom-track-kind><code>kind</code></dfn>, <dfn id=dom-track-label title=dom-track-label><code>label</code></dfn>, <dfn id=dom-track-src title=dom-track-src><code>src</code></dfn>, and <dfn id=dom-track-srclang title=dom-track-srclang><code>srclang</code></dfn> must
<a href=#reflect>reflect</a> the respective content attributes of the same
name.</p>
<p>The <dfn id=dom-track-label title=dom-track-label><code>label</code></dfn>, <dfn id=dom-track-src title=dom-track-src><code>src</code></dfn>, and <dfn id=dom-track-srclang title=dom-track-srclang><code>srclang</code></dfn> IDL attributes
must <a href=#reflect>reflect</a> the respective content attributes of the
same name. The <dfn id=dom-track-kind title=dom-track-kind><code>kind</code></dfn>
IDL attributemust <a href=#reflect>reflect</a> the content attribute of the
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

</div>

Expand Down Expand Up @@ -25276,7 +25278,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

<p>The <dfn id=dom-media-preload title=dom-media-preload><code>preload</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name.</p>
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

</div>

Expand Down Expand Up @@ -49368,7 +49370,11 @@ interface <dfn>DataGridListener</dfn> {

<div class=impl>

<p>The <dfn id=dom-command-type title=dom-command-type><code>type</code></dfn>, <dfn id=dom-command-label title=dom-command-label><code>label</code></dfn>, <dfn id=dom-command-icon title=dom-command-icon><code>icon</code></dfn>, <dfn id=dom-command-disabled title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=dom-command-checked title=dom-command-checked><code>checked</code></dfn>, and <dfn id=dom-command-radiogroup title=dom-command-radiogroup><code>radiogroup</code></dfn><!--,
<p>The <dfn id=dom-command-type title=dom-command-type><code>type</code></dfn> IDL
attribute must <a href=#reflect>reflect</a> the content attribute of the
same name, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>

<p>The <dfn id=dom-command-label title=dom-command-label><code>label</code></dfn>, <dfn id=dom-command-icon title=dom-command-icon><code>icon</code></dfn>, <dfn id=dom-command-disabled title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=dom-command-checked title=dom-command-checked><code>checked</code></dfn>, and <dfn id=dom-command-radiogroup title=dom-command-radiogroup><code>radiogroup</code></dfn><!--,
and <dfn title="dom-command-default"><code>default</code></dfn>-->
IDL attributes must <a href=#reflect>reflect</a> the respective content
attributes of the same name.</p>
Expand Down
21 changes: 12 additions & 9 deletions source
Expand Up @@ -25837,13 +25837,13 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
<span>timed track</span>'s corresponding <code>TimedTrack</code>
object.</p>

<p>The IDL attributes <dfn
title="dom-track-kind"><code>kind</code></dfn>, <dfn
title="dom-track-label"><code>label</code></dfn>, <dfn
<p>The <dfn title="dom-track-label"><code>label</code></dfn>, <dfn
title="dom-track-src"><code>src</code></dfn>, and <dfn
title="dom-track-srclang"><code>srclang</code></dfn> must
<span>reflect</span> the respective content attributes of the same
name.</p>
title="dom-track-srclang"><code>srclang</code></dfn> IDL attributes
must <span>reflect</span> the respective content attributes of the
same name. The <dfn title="dom-track-kind"><code>kind</code></dfn>
IDL attributemust <span>reflect</span> the content attribute of the
same name, <span>limited to only known values</span>.</p>

</div>

Expand Down Expand Up @@ -27318,7 +27318,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
<p>The <dfn
title="dom-media-preload"><code>preload</code></dfn> IDL
attribute must <span>reflect</span> the content attribute of the
same name.</p>
same name, <span>limited to only known values</span>.</p>

</div>

Expand Down Expand Up @@ -55204,8 +55204,11 @@ interface <dfn>DataGridListener</dfn> {

<div class="impl">

<p>The <dfn title="dom-command-type"><code>type</code></dfn>, <dfn
title="dom-command-label"><code>label</code></dfn>, <dfn
<p>The <dfn title="dom-command-type"><code>type</code></dfn> IDL
attribute must <span>reflect</span> the content attribute of the
same name, <span>limited to only known values</span>.</p>

<p>The <dfn title="dom-command-label"><code>label</code></dfn>, <dfn
title="dom-command-icon"><code>icon</code></dfn>, <dfn
title="dom-command-disabled"><code>disabled</code></dfn>, <dfn
title="dom-command-checked"><code>checked</code></dfn>, and <dfn
Expand Down

0 comments on commit 4daa6b2

Please sign in to comment.