Note that DOMTokenList exposes the undordered tokens in a defined order. (whatwg r3214)

Note that DOMTokenList exposes the undordered tokens in a defined order.
(whatwg r3214)

Diffs for this change per section: 
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2365.html#dom-propertynodelist-content
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2365.html#domtokenlist
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2365.html#domtokenlist-0

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2364&r2=1.2365&f=h
http://html5.org/tools/web-apps-tracker?from=3213&to=3214

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2364
retrieving revision 1.2365
diff -u -d -r1.2364 -r1.2365
--- Overview.html 9 Jun 2009 01:28:03 -0000 1.2364
+++ Overview.html 9 Jun 2009 22:57:01 -0000 1.2365
@@ -6081,7 +6081,10 @@
 
   </div><h4 id="domtokenlist"><span class="secno">2.9.3 </span>DOMTokenList</h4><p>The <code><a href="#domtokenlist-0">DOMTokenList</a></code> interface represents an interface
   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>.<pre class="idl">[<a href="#dom-tokenlist-tostring" title="dom-tokenlist-toString">Stringifies</a>] interface <dfn id="domtokenlist-0">DOMTokenList</dfn> {
+  unique space-separated tokens</a>.<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.<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);
   boolean <a href="#dom-tokenlist-has" title="dom-tokenlist-has">has</a>(in DOMString token);

Received on Tuesday, 9 June 2009 22:59:12 UTC