Skip to content

Commit

Permalink
[e] (0) Note that DOMTokenList exposes the undordered tokens in a def…
Browse files Browse the repository at this point in the history
…ined order.

git-svn-id: http://svn.whatwg.org/webapps@3214 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 9, 2009
1 parent 98e17d2 commit 17253d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index
Expand Up @@ -6674,6 +6674,11 @@ interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <span>NodeList</span
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);
Expand Down
5 changes: 5 additions & 0 deletions source
Expand Up @@ -6665,6 +6665,11 @@ interface <dfn>PropertyNodeList</dfn> : <span>NodeList</span> {
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);
Expand Down

0 comments on commit 17253d7

Please sign in to comment.