HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/5360

SVNBugCommentTime (UTC)
5360[Authors] [Gecko] [Internet Explorer] [Opera] [Webkit] Make a number of enumerated IDL attributes be limited to known values, for ease of feature testing.2010-08-26 18:01
Index: source
===================================================================
--- source	(revision 5359)
+++ source	(revision 5360)
@@ -25837,13 +25837,13 @@
   <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>
 
@@ -27318,7 +27318,7 @@
   <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>
 
@@ -55204,8 +55204,11 @@
 
   <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

|