[html5] r2659 - [] (0) WebIDLize DOMTokenList.

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 13 18:12:09 PST 2009


Author: ianh
Date: 2009-01-13 18:12:08 -0800 (Tue, 13 Jan 2009)
New Revision: 2659

Modified:
   index
   source
Log:
[] (0) WebIDLize DOMTokenList.

Modified: index
===================================================================
--- index	2009-01-13 12:11:44 UTC (rev 2658)
+++ index	2009-01-14 02:12:08 UTC (rev 2659)
@@ -22,7 +22,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 13 January 2009</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 14 January 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <dl><dt>Multiple-page version:</dt>
@@ -5324,8 +5324,8 @@
   <p>The object's <span>indices of the supported indexed
   properties</span> are the numbers in the range zero to one less than
   the number of nodes <a href=#represented-by-the-collection>represented by the collection</a>. If
-  there are no such elements, then there are no supported
-  properties.</p>
+  there are no such elements, then there are no <span>supported
+  indexed properties</span>.</p>
 
   <p>The <dfn id=dom-htmlcollection-length title=dom-HTMLCollection-length><code>length</code></dfn>
   attribute must return the number of nodes <a href=#represented-by-the-collection>represented by the
@@ -5376,8 +5376,8 @@
   <p>The object's <span>indices of the supported indexed
   properties</span> are the numbers in the range zero to one less than
   the number of nodes <a href=#represented-by-the-collection>represented by the collection</a>. If
-  there are no such elements, then there are no supported
-  properties.</p>
+  there are no such elements, then there are no <span>supported
+  indexed properties</span>.</p>
 
   <p>The <dfn id=dom-htmlformcontrolscollection-length title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>
   attribute must return the number of nodes <a href=#represented-by-the-collection>represented by the
@@ -5431,8 +5431,8 @@
   <p>The object's <span>indices of the supported indexed
   properties</span> are the numbers in the range zero to one less than
   the number of nodes <a href=#represented-by-the-collection>represented by the collection</a>. If
-  there are no such elements, then there are no supported
-  properties.</p>
+  there are no such elements, then there are no <span>supported
+  indexed properties</span>.</p>
 
   <p>On getting, the <dfn id=dom-htmloptionscollection-length title=dom-HTMLOptionsCollection-length><code>length</code></dfn>
   attribute must return the number of nodes <a href=#represented-by-the-collection>represented by the
@@ -5554,8 +5554,12 @@
   <p>The <dfn id=dom-tokenlist-length title=dom-tokenlist-length><code>length</code></dfn>
   attribute must return the number of <em>unique</em> tokens that
   result from <a href=#split-a-string-on-spaces title="split a string on spaces">splitting the
-  underlying string on spaces</a>.</p>
+  underlying string on spaces</a>. This is the <var title=dom-tokenlist-length><a href=#dom-tokenlist-length>length</a></var>.</p>
 
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to the <var title=dom-tokenlist-length><a href=#dom-tokenlist-length>length</a></var>-1, unless the <var title=dom-tokenlist-length><a href=#dom-tokenlist-length>length</a></var> is zero, in which case
+  there are no <span>supported indexed properties</span>.</p>
+
   <p>The <dfn id=dom-tokenlist-item title=dom-tokenlist-item><code>item(<var title="">index</var>)</code></dfn> method must <a href=#split-a-string-on-spaces title="split a
   string on spaces">split the underlying string on spaces</a>, sort
   the resulting list of tokens by Unicode codepoint<!-- XXX that's
@@ -33686,8 +33690,8 @@
   range 0 .. <var title="">n</var>, where <var title="">n</var> is the
   number of <a href=#child-browsing-context title="child browsing context">child browsing
   contexts</a> of the <a href=#active-document title="active document">active</a>
-  <code>Document</code>. These properties are the <dfn id=dynamic-nested-browsing-context-properties>dynamic nested
-  browsing context properties</dfn>.</p>
+  <code>Document</code>. If <var title="">n</var> is zero then there
+  are no <span>supported indexed properties</span>.</p>
 
   <p>When a <code><a href=#window>Window</a></code> object is <dfn id=dom-window-item title=dom-window-item>indexed to retrieve an indexed
   property</dfn> <var title="">index</var>, the value returned must be
@@ -33696,7 +33700,10 @@
   <code>Document</code>, sorted in document order of the elements
   nesting those browsing contexts.</p>
 
+  <p>These properties are the <dfn id=dynamic-nested-browsing-context-properties>dynamic nested browsing context
+  properties</dfn>.</p>
 
+
   <h4 id=garbage-collection-and-browsing-contexts><span class=secno>5.2.4 </span>Garbage collection and browsing contexts</h4>
 
   <p>A <a href=#browsing-context>browsing context</a> has a strong reference to each of

Modified: source
===================================================================
--- source	2009-01-13 12:11:44 UTC (rev 2658)
+++ source	2009-01-14 02:12:08 UTC (rev 2659)
@@ -5156,8 +5156,8 @@
   <p>The object's <span>indices of the supported indexed
   properties</span> are the numbers in the range zero to one less than
   the number of nodes <span>represented by the collection</span>. If
-  there are no such elements, then there are no supported
-  properties.</p>
+  there are no such elements, then there are no <span>supported
+  indexed properties</span>.</p>
 
   <p>The <dfn
   title="dom-HTMLCollection-length"><code>length</code></dfn>
@@ -5220,8 +5220,8 @@
   <p>The object's <span>indices of the supported indexed
   properties</span> are the numbers in the range zero to one less than
   the number of nodes <span>represented by the collection</span>. If
-  there are no such elements, then there are no supported
-  properties.</p>
+  there are no such elements, then there are no <span>supported
+  indexed properties</span>.</p>
 
   <p>The <dfn
   title="dom-HTMLFormControlsCollection-length"><code>length</code></dfn>
@@ -5298,8 +5298,8 @@
   <p>The object's <span>indices of the supported indexed
   properties</span> are the numbers in the range zero to one less than
   the number of nodes <span>represented by the collection</span>. If
-  there are no such elements, then there are no supported
-  properties.</p>
+  there are no such elements, then there are no <span>supported
+  indexed properties</span>.</p>
 
   <p>On getting, the <dfn
   title="dom-HTMLOptionsCollection-length"><code>length</code></dfn>
@@ -5467,8 +5467,15 @@
   <p>The <dfn title="dom-tokenlist-length"><code>length</code></dfn>
   attribute must return the number of <em>unique</em> tokens that
   result from <span title="split a string on spaces">splitting the
-  underlying string on spaces</span>.</p>
+  underlying string on spaces</span>. This is the <var
+  title="dom-tokenlist-length">length</var>.</p>
 
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to the <var
+  title="dom-tokenlist-length">length</var>-1, unless the <var
+  title="dom-tokenlist-length">length</var> is zero, in which case
+  there are no <span>supported indexed properties</span>.</p>
+
   <p>The <dfn title="dom-tokenlist-item"><code>item(<var
   title="">index</var>)</code></dfn> method must <span title="split a
   string on spaces">split the underlying string on spaces</span>, sort
@@ -38249,8 +38256,8 @@
   range 0 .. <var title="">n</var>, where <var title="">n</var> is the
   number of <span title="child browsing context">child browsing
   contexts</span> of the <span title="active document">active</span>
-  <code>Document</code>. These properties are the <dfn>dynamic nested
-  browsing context properties</dfn>.</p>
+  <code>Document</code>. If <var title="">n</var> is zero then there
+  are no <span>supported indexed properties</span>.</p>
 
   <p>When a <code>Window</code> object is <dfn
   title="dom-window-item">indexed to retrieve an indexed
@@ -38260,7 +38267,10 @@
   <code>Document</code>, sorted in document order of the elements
   nesting those browsing contexts.</p>
 
+  <p>These properties are the <dfn>dynamic nested browsing context
+  properties</dfn>.</p>
 
+
   <h4>Garbage collection and browsing contexts</h4>
 
   <p>A <span>browsing context</span> has a strong reference to each of




More information about the Commit-Watchers mailing list