Implement trivial stringifiers

This commit is contained in:
Anthony Ramine 2015-04-29 17:56:37 +02:00
parent 2a2e8b176d
commit 3b82cba011
6 changed files with 12 additions and 35 deletions

View file

@ -825,9 +825,6 @@
[DOMTokenList interface: operation toggle(DOMString,boolean)]
expected: FAIL
[DOMTokenList interface: stringifier]
expected: FAIL
[DOMTokenList interface: calling add(DOMString) on document.body.classList with too few arguments must throw TypeError]
expected: FAIL

View file

@ -12,42 +12,12 @@
[classList.add must not cause the CSS selector to stop matching]
expected: FAIL
[classList must stringify correctly when items have been added]
expected: FAIL
[classList.add should not add a token if it already exists]
expected: FAIL
[classList.remove removes arguments passed, if they are present.]
expected: FAIL
[classList.remove must remove existing tokens]
expected: FAIL
[classList.remove must not break case-sensitive CSS selector matching]
expected: FAIL
[classList.remove must collapse whitespace around removed tokens]
expected: FAIL
[classList.remove must collapse whitespaces around each token]
expected: FAIL
[classList.remove must collapse whitespaces around each token and remove duplicates]
expected: FAIL
[classList.remove must collapse whitespace when removing duplicate tokens]
expected: FAIL
[classList.add must collapse whitespaces and remove duplicates when adding a token that already exists]
expected: FAIL
[classList.toggle must not break case-sensitive CSS selector matching]
expected: FAIL
[CSS class selectors must stop matching when all classes have been removed]
expected: FAIL
[classList must stringify to an empty string when all classes have been removed]
expected: FAIL