[html5] r3214 - [e] (0) Note that DOMTokenList exposes the undordered tokens in a defined order.
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jun 9 15:56:58 PDT 2009
Author: ianh
Date: 2009-06-09 15:56:56 -0700 (Tue, 09 Jun 2009)
New Revision: 3214
Modified:
index
source
Log:
[e] (0) Note that DOMTokenList exposes the undordered tokens in a defined order.
Modified: index
===================================================================
--- index 2009-06-09 01:27:57 UTC (rev 3213)
+++ index 2009-06-09 22:56:56 UTC (rev 3214)
@@ -6674,6 +6674,11 @@
to an underlying string that consists of an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of
unique space-separated tokens</a>.</p>
+ <p class=note>While the order of the tokens in the underlying
+ string is not important, the <code><a href=#domtokenlist-0>DOMTokenList</a></code> interfaces
+ exposes the tokens in a well-defined order for consistency between
+ implementations.</p>
+
<pre class=idl>[<a href=#dom-tokenlist-tostring title=dom-tokenlist-toString>Stringifies</a>] interface <dfn id=domtokenlist-0>DOMTokenList</dfn> {
readonly attribute unsigned long <a href=#dom-tokenlist-length title=dom-tokenlist-length>length</a>;
[IndexGetter] DOMString <a href=#dom-tokenlist-item title=dom-tokenlist-item>item</a>(in unsigned long index);
Modified: source
===================================================================
--- source 2009-06-09 01:27:57 UTC (rev 3213)
+++ source 2009-06-09 22:56:56 UTC (rev 3214)
@@ -6665,6 +6665,11 @@
to an underlying string that consists of an <span>unordered set of
unique space-separated tokens</span>.</p>
+ <p class="note">While the order of the tokens in the underlying
+ string is not important, the <code>DOMTokenList</code> interfaces
+ exposes the tokens in a well-defined order for consistency between
+ implementations.</p>
+
<pre class="idl">[<span title="dom-tokenlist-toString">Stringifies</span>] interface <dfn>DOMTokenList</dfn> {
readonly attribute unsigned long <span title="dom-tokenlist-length">length</span>;
[IndexGetter] DOMString <span title="dom-tokenlist-item">item</span>(in unsigned long index);
More information about the Commit-Watchers
mailing list