This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 12 July 2009</h2>
<h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 13 July 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>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
<p>Returns the token with index <var title="">index</var>. The tokens are sorted alphabetically.</p>
<p>Returns the token with index <var title="">index</var>. The tokens are returned in the order they are found in the underlying string, with duplicates removed.</p>
<p>Returns null if <var title="">index</var> is out of range.</p>
underlying string on spaces</a> to get the list of tokens in the
object's underlying string.</li>
<li>If the given <var title="">token</var> is already one of the
tokens in the <code><a href=#domtokenlist-0>DOMTokenList</a></code> object's underlying string
then <a href=#remove-a-token-from-a-string title="remove a token from a string">remove the given
<var title="">token</var> from the underlying string</a>, and
stop the algorithm, returning false.</li>
<li>If the given <var title="">token</var> is a
<a href=#case-sensitive>case-sensitive</a> match for one of the tokens in the
<code><a href=#domtokenlist-0>DOMTokenList</a></code> object's underlying string then <a href=#remove-a-token-from-a-string title="remove a token from a string">remove the given <var title="">token</var> from the underlying string</a> and stop the
algorithm, returning false.</li>
<li>Otherwise, if the <code><a href=#domtokenlist-0>DOMTokenList</a></code> object's underlying
string is not the empty string and the last character of that
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Returns the token with index <var title="">index</var>. The tokens are sorted alphabetically.</p>
<p>Returns the token with index <var title="">index</var>. The tokens are returned in the order they are found in the underlying string, with duplicates removed.</p>
<p>Returns null if <var title="">index</var> is out of range.</p>