| OLD | NEW |
| 1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 PASS Element.closest with context node 'test12' and selector 'select' | 2 PASS Element.closest with context node 'test12' and selector 'select' |
| 3 PASS Element.closest with context node 'test13' and selector 'fieldset' | 3 PASS Element.closest with context node 'test13' and selector 'fieldset' |
| 4 PASS Element.closest with context node 'test13' and selector 'div' | 4 PASS Element.closest with context node 'test13' and selector 'div' |
| 5 PASS Element.closest with context node 'test3' and selector 'body' | 5 PASS Element.closest with context node 'test3' and selector 'body' |
| 6 PASS Element.closest with context node 'test4' and selector '[default]' | 6 PASS Element.closest with context node 'test4' and selector '[default]' |
| 7 PASS Element.closest with context node 'test4' and selector '[selected]' | 7 PASS Element.closest with context node 'test4' and selector '[selected]' |
| 8 PASS Element.closest with context node 'test11' 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"]' | 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"
]' | 10 PASS Element.closest with context node 'test13' and selector 'form[name="form-a"
]' |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 PASS Element.closest with context node 'test10' and selector ':empty' | 23 PASS Element.closest with context node 'test10' and selector ':empty' |
| 24 PASS Element.closest with context node 'test11' and selector ':last-child' | 24 PASS Element.closest with context node 'test11' and selector ':last-child' |
| 25 PASS Element.closest with context node 'test12' and selector ':first-child' | 25 PASS Element.closest with context node 'test12' and selector ':first-child' |
| 26 PASS Element.closest with context node 'test11' and selector ':invalid' | 26 PASS Element.closest with context node 'test11' and selector ':invalid' |
| 27 PASS Element.closest with context node 'test4' and selector ':scope' | 27 PASS Element.closest with context node 'test4' and selector ':scope' |
| 28 PASS Element.closest with context node 'test4' and selector 'select > :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' | 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. | 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. | 31 Harness: the test ran to completion. |
| 32 | 32 |
| OLD | NEW |