mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
fix DOMTokenList
This commit is contained in:
parent
6d220d02de
commit
004c059518
2 changed files with 33 additions and 90 deletions
|
@ -1,77 +0,0 @@
|
|||
[Element-classlist.html]
|
||||
type: testharness
|
||||
[classList.remove("a") with attribute value null (HTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.remove("a", "b") with attribute value null (HTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a" (HTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a a a b" (HTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("c", "a") with attribute value "c b a" (HTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.remove("a") with attribute value null (XHTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.remove("a", "b") with attribute value null (XHTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a" (XHTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a a a b" (XHTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("c", "a") with attribute value "c b a" (XHTML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.remove("a") with attribute value null (MathML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.remove("a", "b") with attribute value null (MathML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a" (MathML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a a a b" (MathML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("c", "a") with attribute value "c b a" (MathML node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.remove("a") with attribute value null (XML node with null namespace)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.remove("a", "b") with attribute value null (XML node with null namespace)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a" (XML node with null namespace)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a a a b" (XML node with null namespace)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("c", "a") with attribute value "c b a" (XML node with null namespace)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.remove("a") with attribute value null (foo node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.remove("a", "b") with attribute value null (foo node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a" (foo node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("a", "a") with attribute value "a a a b" (foo node)]
|
||||
expected: FAIL
|
||||
|
||||
[classList.replace("c", "a") with attribute value "c b a" (foo node)]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue