- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 14 Jan 2009 02:12:16 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv32179
Modified Files:
Overview.html
Log Message:
WebIDLize DOMTokenList. (whatwg r2659)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1828
retrieving revision 1.1829
diff -u -d -r1.1828 -r1.1829
--- Overview.html 13 Jan 2009 12:11:50 -0000 1.1828
+++ Overview.html 14 Jan 2009 02:12:14 -0000 1.1829
@@ -8,7 +8,7 @@
<p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
<h1>HTML 5</h1>
<h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
- <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->13 January 2009</h2>
+ <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->14 January 2009</h2>
<dl><!-- ZZZ: update the month/day
<dt>This Version:</dt>
<dd><a href="http://www.w3.org/TR/2009/WD-html5-20090610/">http://www.w3.org/TR/2009/WD-html5-20090610/</a></dd>
@@ -97,7 +97,7 @@
specification's progress along the W3C Recommendation
track.
<!--ZZZ:-->
- This specification is the 13 January 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
+ This specification is the 14 January 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
<!--:ZZZ-->
</p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -4480,8 +4480,8 @@
};</pre><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>The <dfn id=dom-htmlcollection-length title=dom-HTMLCollection-length><code>length</code></dfn>
+ there are no such elements, then there are no <span>supported
+ indexed properties</span>.<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
collection</a>.<p>The <dfn id=dom-htmlcollection-item title=dom-HTMLCollection-item><code>item(<var title="">index</var>)</code></dfn> method must return the <var title="">index</var>th node in the collection. If there is no <var title="">index</var>th node in the collection, then the method must
return null.<p>The <span>names of the supported named properties</span> consist
@@ -4512,8 +4512,8 @@
};</pre><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>The <dfn id=dom-htmlformcontrolscollection-length title=dom-HTMLFormControlsCollection-length><code>length</code></dfn>
+ there are no such elements, then there are no <span>supported
+ indexed properties</span>.<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
collection</a>.<p>The <dfn id=dom-htmlformcontrolscollection-item title=dom-HTMLFormControlsCollection-item><code>item(<var title="">index</var>)</code></dfn> method must return the <var title="">index</var>th node in the collection. If there is no <var title="">index</var>th node in the collection, then the method must
return null.<p>The <span>names of the supported named properties</span> consist
@@ -4553,8 +4553,8 @@
};</pre><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>On getting, the <dfn id=dom-htmloptionscollection-length title=dom-HTMLOptionsCollection-length><code>length</code></dfn>
+ there are no such elements, then there are no <span>supported
+ indexed properties</span>.<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
collection</a>.<p>On setting, the behavior depends on whether the new value is
equal to, greater than, or less than the number of nodes
@@ -4652,7 +4652,9 @@
};</pre><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>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
+ underlying string on spaces</a>. This is the <var title=dom-tokenlist-length><a href=#dom-tokenlist-length>length</a></var>.<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>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
basically nonsense. What sort order do we want here? It should be
@@ -27293,13 +27295,14 @@
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>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
+ <code>Document</code>. If <var title="">n</var> is zero then there
+ are no <span>supported indexed properties</span>.<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
the <var title="">index</var>th <a href=#child-browsing-context>child browsing context</a>
of the <a href=#active-document title="active document">active</a>
<code>Document</code>, sorted in document order of the elements
- nesting those browsing contexts.<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
+ nesting those browsing contexts.<p>These properties are the <dfn id=dynamic-nested-browsing-context-properties>dynamic nested browsing context
+ properties</dfn>.<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
its <code>Document</code>s and <a href=#view title=view>views</a>, and
the user agent itself has a strong reference to its <a href=#top-level-browsing-context title="top-level browsing context">top-level browsing
contexts</a>.<p>When a <a href=#browsing-context>browsing context</a> is to <dfn id=discard-a-document>discard a
Received on Wednesday, 14 January 2009 02:12:27 UTC