OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 Found 78 tests; 56 PASS, 22 FAIL, 0 TIMEOUT, 0 NOTRUN. |
2 PASS Element.classList must exist as an object | 3 PASS Element.classList must exist as an object |
3 PASS Element.classList must exist as an object even if the element has no class
attribute | 4 PASS Element.classList must exist as an object even if the element has no class
attribute |
4 PASS DOMTokenList should be exposed for prototyping | 5 PASS DOMTokenList should be exposed for prototyping |
5 PASS prototyping DOMTokenList should work | 6 PASS prototyping DOMTokenList should work |
6 PASS Element.classList must implement DOMTokenList | 7 PASS Element.classList must implement DOMTokenList |
7 PASS CSS .foo selectors must not match elements without any class | 8 PASS CSS .foo selectors must not match elements without any class |
8 FAIL classList must be correct for an element that has classes assert_equals: du
plicates in initial string should be removed per https://dom.spec.whatwg.org/#co
ncept-class expected 1 but got 2 | 9 FAIL classList must be correct for an element that has classes assert_equals: du
plicates in initial string should be removed per https://dom.spec.whatwg.org/#co
ncept-class expected 1 but got 2 |
9 PASS classList.length must be 0 for an element that has no classes | 10 PASS classList.length must be 0 for an element that has no classes |
10 PASS classList must not contain an undefined class | 11 PASS classList must not contain an undefined class |
11 PASS classList.item() must return null for out-of-range index | 12 PASS classList.item() must return null for out-of-range index |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 FAIL classList.add should treat \t as a space assert_equals: expected "a b" but
got "a\tb" | 73 FAIL classList.add should treat \t as a space assert_equals: expected "a b" but
got "a\tb" |
73 FAIL classList.add should treat \r as a space assert_equals: expected "a b" but
got "a\rb" | 74 FAIL classList.add should treat \r as a space assert_equals: expected "a b" but
got "a\rb" |
74 FAIL classList.add should treat \n as a space assert_equals: expected "a b" but
got "a\nb" | 75 FAIL classList.add should treat \n as a space assert_equals: expected "a b" but
got "a\nb" |
75 FAIL classList.add should treat \f as a space assert_equals: expected "a b" but
got "a\fb" | 76 FAIL classList.add should treat \f as a space assert_equals: expected "a b" but
got "a\fb" |
76 PASS classList.length must be read-only | 77 PASS classList.length must be read-only |
77 PASS classList must have [PutForwards=value] | 78 PASS classList must have [PutForwards=value] |
78 FAIL classList.replace should work foo.classList.replace is not a function | 79 FAIL classList.replace should work foo.classList.replace is not a function |
79 PASS classList.supports should throw | 80 PASS classList.supports should throw |
80 Harness: the test ran to completion. | 81 Harness: the test ran to completion. |
81 | 82 |
OLD | NEW |