OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 PASS Element.closest with context node 'test12' and selector 'select' | |
3 PASS Element.closest with context node 'test13' and selector 'fieldset' | |
4 PASS Element.closest with context node 'test13' and selector 'div' | |
5 PASS Element.closest with context node 'test3' and selector 'body' | |
6 PASS Element.closest with context node 'test4' and selector '[default]' | |
7 PASS Element.closest with context node 'test4' and selector '[selected]' | |
8 PASS Element.closest with context node 'test11' and selector '[selected]' | |
9 PASS Element.closest with context node 'test12' and selector '[name="form-a"]' | |
10 PASS Element.closest with context node 'test13' and selector 'form[name="form-a"
]' | |
11 PASS Element.closest with context node 'test9' and selector 'input[required]' | |
12 PASS Element.closest with context node 'test9' and selector 'select[required]' | |
13 PASS Element.closest with context node 'test13' and selector 'div:not(.div1)' | |
14 PASS Element.closest with context node 'test6' and selector 'div.div3' | |
15 PASS Element.closest with context node 'test1' and selector 'div#test7' | |
16 PASS Element.closest with context node 'test12' and selector '.div3 > .div2' | |
17 PASS Element.closest with context node 'test12' and selector '.div3 > .div1' | |
18 PASS Element.closest with context node 'test9' and selector 'form > input[requir
ed]' | |
19 PASS Element.closest with context node 'test12' and selector 'fieldset > select[
required]' | |
20 PASS Element.closest with context node 'test6' and selector 'input + fieldset' | |
21 PASS Element.closest with context node 'test3' and selector 'form + form' | |
22 PASS Element.closest with context node 'test5' and selector 'form + form' | |
23 PASS Element.closest with context node 'test10' and selector ':empty' | |
24 PASS Element.closest with context node 'test11' and selector ':last-child' | |
25 PASS Element.closest with context node 'test12' and selector ':first-child' | |
26 PASS Element.closest with context node 'test11' and selector ':invalid' | |
27 PASS Element.closest with context node 'test4' and selector ':scope' | |
28 PASS Element.closest with context node 'test4' and selector 'select > :scope' | |
29 PASS Element.closest with context node 'test4' and selector 'div > :scope' | |
30 FAIL Element.closest with context node 'test4' and selector ':has(> :scope)' Fai
led to execute 'closest' on 'Element': ':has(> :scope)' is not a valid selector. | |
31 Harness: the test ran to completion. | |
32 | |
OLD | NEW |