diff --git a/tests/wpt/metadata/dom/interfaces.html.ini b/tests/wpt/metadata/dom/interfaces.html.ini index 941b80264b2..3a11f7df0d6 100644 --- a/tests/wpt/metadata/dom/interfaces.html.ini +++ b/tests/wpt/metadata/dom/interfaces.html.ini @@ -1032,36 +1032,18 @@ [TreeWalker interface: document.createTreeWalker(document.body, NodeFilter.SHOW_ALL, null, false) must inherit property "nextNode" with the proper type (10)] expected: FAIL - [DOMTokenList interface: operation add(DOMString)] - expected: FAIL - - [DOMTokenList interface: operation remove(DOMString)] - expected: FAIL - [DOMTokenList interface: operation toggle(DOMString,boolean)] expected: FAIL [DOMTokenList interface: stringifier] expected: FAIL - [DOMTokenList interface: document.body.classList must inherit property "add" with the proper type (3)] - expected: FAIL - [DOMTokenList interface: calling add(DOMString) on document.body.classList with too few arguments must throw TypeError] expected: FAIL - [DOMTokenList interface: document.body.classList must inherit property "remove" with the proper type (4)] - expected: FAIL - [DOMTokenList interface: calling remove(DOMString) on document.body.classList with too few arguments must throw TypeError] expected: FAIL - [DOMTokenList interface: document.body.classList must inherit property "toggle" with the proper type (5)] - expected: FAIL - - [DOMTokenList interface: calling toggle(DOMString,boolean) on document.body.classList with too few arguments must throw TypeError] - expected: FAIL - [DOMSettableTokenList interface: existence and properties of interface object] expected: FAIL diff --git a/tests/wpt/metadata/dom/nodes/Element-classlist.html.ini b/tests/wpt/metadata/dom/nodes/Element-classlist.html.ini index 3ec7b9070e1..9a6f69132ab 100644 --- a/tests/wpt/metadata/dom/nodes/Element-classlist.html.ini +++ b/tests/wpt/metadata/dom/nodes/Element-classlist.html.ini @@ -6,45 +6,12 @@ [empty classList should return the empty string since the ordered set parser skip the whitespaces] expected: FAIL - [.add(empty_string) must throw a SYNTAX_ERR] - expected: FAIL - - [.remove(empty_string) must throw a SYNTAX_ERR] - expected: FAIL - - [.toggle(empty_string) must throw a SYNTAX_ERR] - expected: FAIL - - [.add(string_with_spaces) must throw an INVALID_CHARACTER_ERR] - expected: FAIL - - [.remove(string_with_spaces) must throw an INVALID_CHARACTER_ERR] - expected: FAIL - - [.toggle(string_with_spaces) must throw an INVALID_CHARACTER_ERR] - expected: FAIL - [computed style must update when setting .className] expected: FAIL [classList.add must not cause the CSS selector to stop matching] expected: FAIL - [classList.contains case sensitivity must match a case-specific string] - expected: FAIL - - [classList.length must correctly reflect the number of tokens] - expected: FAIL - - [classList.item must return case-sensitive strings and preserve token order] - expected: FAIL - - [classList[index\] must return case-sensitive strings and preserve token order] - expected: FAIL - - [className must update correctly when items have been added through classList] - expected: FAIL - [classList must stringify correctly when items have been added] expected: FAIL @@ -75,45 +42,12 @@ [classList.add must collapse whitespaces and remove duplicates when adding a token that already exists] expected: FAIL - [classList.toggle must toggle tokens case-sensitively when adding] - expected: FAIL - [classList.toggle must not break case-sensitive CSS selector matching] expected: FAIL - [classList.toggle must be able to remove tokens] - expected: FAIL - - [classList.toggle must be case-sensitive when removing tokens] - expected: FAIL - [CSS class selectors must stop matching when all classes have been removed] expected: FAIL - [className must be empty when all classes have been removed] - expected: FAIL - [classList must stringify to an empty string when all classes have been removed] expected: FAIL - [classList.item(0) must return null when all classes have been removed] - expected: FAIL - - [classList[0\] must be undefined when all classes have been removed] - expected: FAIL - - [classList.add should treat " " as a space] - expected: FAIL - - [classList.add should treat \\t as a space] - expected: FAIL - - [classList.add should treat \\r as a space] - expected: FAIL - - [classList.add should treat \\n as a space] - expected: FAIL - - [classList.add should treat \\f as a space] - expected: FAIL -