Skip to content

Commit

Permalink
[] (0) WebIDLize DOMTokenList.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2659 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 14, 2009
1 parent 17e4131 commit 2d368df
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 19 deletions.
27 changes: 17 additions & 10 deletions index
Expand Up @@ -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-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 13 January 2009</h2>
<h2 class="no-num no-toc" id=draft-recommendation-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 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>
Expand Down Expand Up @@ -5324,8 +5324,8 @@ interface <dfn id=htmlcollection-0>HTMLCollection</dfn> {
<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
Expand Down Expand Up @@ -5376,8 +5376,8 @@ interface <dfn id=htmlformcontrolscollection-0>HTMLFormControlsCollection</dfn>
<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
Expand Down Expand Up @@ -5431,8 +5431,8 @@ interface <dfn id=htmloptionscollection-0>HTMLOptionsCollection</dfn> {
<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
Expand Down Expand Up @@ -5554,7 +5554,11 @@ interface <dfn id=htmloptionscollection-0>HTMLOptionsCollection</dfn> {
<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
Expand Down Expand Up @@ -33686,8 +33690,8 @@ interface <dfn id=window>Window</dfn> {
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
Expand All @@ -33696,6 +33700,9 @@ interface <dfn id=window>Window</dfn> {
<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>

Expand Down
28 changes: 19 additions & 9 deletions source
Expand Up @@ -5156,8 +5156,8 @@ interface <dfn>HTMLCollection</dfn> {
<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>
Expand Down Expand Up @@ -5220,8 +5220,8 @@ interface <dfn>HTMLFormControlsCollection</dfn> {
<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>
Expand Down Expand Up @@ -5298,8 +5298,8 @@ interface <dfn>HTMLOptionsCollection</dfn> {
<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>
Expand Down Expand Up @@ -5467,7 +5467,14 @@ interface <dfn>HTMLOptionsCollection</dfn> {
<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
Expand Down Expand Up @@ -38249,8 +38256,8 @@ interface <dfn>Window</dfn> {
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
Expand All @@ -38260,6 +38267,9 @@ interface <dfn>Window</dfn> {
<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>

Expand Down

0 comments on commit 2d368df

Please sign in to comment.