Skip to content

Commit

Permalink
make sure className.match(), etc, still works
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@253 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 2, 2006
1 parent 561d0d8 commit 5ae9cfb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion index
Original file line number Diff line number Diff line change
Expand Up @@ -3515,7 +3515,8 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
represents a string that consists of an <a href="#unordered">unordered set
of space-separated tokens</a>.

<pre class=idl>interface <dfn id=domtokenstring0>DOMTokenString</dfn> {
<pre
class=idl>interface <dfn id=domtokenstring0>DOMTokenString</dfn> : DOMString {
boolean <a href="#hastoken" title=dom-tokenstring-has>has</a>(in DOMString token);
void <a href="#remove" title=dom-tokenstring-add>add</a>(in DOMString token);
void <span title=dom-tokenstring-remove>remove</span>(in DOMString token);
Expand Down Expand Up @@ -3586,6 +3587,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
href="#domtokenstring0">DOMTokenString</a></code> interface must stringify
to the object's underlying string representation.

<p><code><a href="#domtokenstring0">DOMTokenString</a></code> inherits from
<code>DOMString</code>, so in bindings where strings have attributes or
methods, those attributes and methods will also operate on <code><a
href="#domtokenstring0">DOMTokenString</a></code> objects.

<h4 id=dom-feature><span class=secno>2.8.3. </span>DOM feature strings</h4>

<p>DOM3 Core defines mechanisms for checking for interface support, and for
Expand Down
7 changes: 6 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -2636,7 +2636,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
that consists of an <span>unordered set of space-separated
tokens</span>.</p>

<pre class="idl">interface <dfn>DOMTokenString</dfn> {
<pre class="idl">interface <dfn>DOMTokenString</dfn> : DOMString {
boolean <span title="dom-tokenstring-has">has</span>(in DOMString token);
void <span title="dom-tokenstring-add">add</span>(in DOMString token);
void <span title="dom-tokenstring-remove">remove</span>(in DOMString token);
Expand Down Expand Up @@ -2715,6 +2715,11 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<code>DOMTokenString</code> interface must stringify to the object's
underlying string representation.</p>

<p><code>DOMTokenString</code> inherits from <code>DOMString</code>,
so in bindings where strings have attributes or methods, those
attributes and methods will also operate on
<code>DOMTokenString</code> objects.</p>


<h4>DOM feature strings</h4>

Expand Down

0 comments on commit 5ae9cfb

Please sign in to comment.