[Bug 22321] Spec for DOMTokenList.toggle is very confusing

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22321

--- Comment #1 from Anne <annevk@annevk.nl> ---
So like this?

3. If token is in the list of tokens, run these substeps:

  3.1 If force is not true (force is either false or omitted), then remove
token from the list of tokens, run the update steps, and return false.

  3.2 Otherwise, return true.

4. Otherwise, run these substeps:

  4.1 If force is false (false is neither true nor omitted), return false.

  4.2 Otherwise, append token to the list of tokens, run the update steps, and
return true.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 12 June 2013 09:11:23 UTC