Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-closest-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-closest-expected.txt b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-closest-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..41dd051e0224d53d54000c4316e521b1d51f18c3 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-closest-expected.txt |
@@ -0,0 +1,32 @@ |
+This is a testharness.js-based test. |
+PASS Element.closest with context node 'test12' and selector 'select' |
+PASS Element.closest with context node 'test13' and selector 'fieldset' |
+PASS Element.closest with context node 'test13' and selector 'div' |
+PASS Element.closest with context node 'test3' and selector 'body' |
+PASS Element.closest with context node 'test4' and selector '[default]' |
+PASS Element.closest with context node 'test4' and selector '[selected]' |
+PASS Element.closest with context node 'test11' and selector '[selected]' |
+PASS Element.closest with context node 'test12' and selector '[name="form-a"]' |
+PASS Element.closest with context node 'test13' and selector 'form[name="form-a"]' |
+PASS Element.closest with context node 'test9' and selector 'input[required]' |
+PASS Element.closest with context node 'test9' and selector 'select[required]' |
+PASS Element.closest with context node 'test13' and selector 'div:not(.div1)' |
+PASS Element.closest with context node 'test6' and selector 'div.div3' |
+PASS Element.closest with context node 'test1' and selector 'div#test7' |
+PASS Element.closest with context node 'test12' and selector '.div3 > .div2' |
+PASS Element.closest with context node 'test12' and selector '.div3 > .div1' |
+PASS Element.closest with context node 'test9' and selector 'form > input[required]' |
+PASS Element.closest with context node 'test12' and selector 'fieldset > select[required]' |
+PASS Element.closest with context node 'test6' and selector 'input + fieldset' |
+PASS Element.closest with context node 'test3' and selector 'form + form' |
+PASS Element.closest with context node 'test5' and selector 'form + form' |
+PASS Element.closest with context node 'test10' and selector ':empty' |
+PASS Element.closest with context node 'test11' and selector ':last-child' |
+PASS Element.closest with context node 'test12' and selector ':first-child' |
+PASS Element.closest with context node 'test11' and selector ':invalid' |
+PASS Element.closest with context node 'test4' and selector ':scope' |
+PASS Element.closest with context node 'test4' and selector 'select > :scope' |
+PASS Element.closest with context node 'test4' and selector 'div > :scope' |
+FAIL Element.closest with context node 'test4' and selector ':has(> :scope)' Failed to execute 'closest' on 'Element': ':has(> :scope)' is not a valid selector. |
+Harness: the test ran to completion. |
+ |