- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 05 Jan 2010 11:19:18 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv13986 Modified Files: Overview.html Log Message: Clarify toggle()'s return value. (whatwg r4484) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3583 retrieving revision 1.3584 diff -u -d -r1.3583 -r1.3584 --- Overview.html 5 Jan 2010 11:16:16 -0000 1.3583 +++ Overview.html 5 Jan 2010 11:19:15 -0000 1.3584 @@ -5458,7 +5458,10 @@ <dt><var title="">hastoken</var> = <var title="">tokenlist</var> . <code title="dom-tokenlist-toggle"><a href="#dom-tokenlist-toggle">toggle</a></code>(<var title="">token</var>)</dt> <dd> - <p>Adds <var title="">token</var> if it is not present, or removes it if it is.</p> + <p>Adds <var title="">token</var> if it is not present, or removes + it if it is. Returns true if <var title="">token</var> is now + present (it was added); returns false if it is not (it was + removed).</p> <p>Throws a <code><a href="#syntax_err">SYNTAX_ERR</a></code> exception if <var title="">token</var> is empty.</p> <p>Throws an <code><a href="#invalid_character_err">INVALID_CHARACTER_ERR</a></code> exception if <var title="">token</var> contains any spaces.</p> </dd>
Received on Tuesday, 5 January 2010 11:19:19 UTC