Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest-expected.txt

Issue 2476293002: Import wpt@c75cae4d1fcd0ed472b9110b14f6a8b5e2ce2759 (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest-expected.txt b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest-expected.txt
index 41dd051e0224d53d54000c4316e521b1d51f18c3..55f2d80b0cbf8a9ed6ecce036403e4dac9726030 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest-expected.txt
@@ -24,9 +24,15 @@ 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.
+FAIL Element.closest with context node 'test4' and selector ':scope' should throw assert_throws: function "function () {
+ el.closest(aSelector);
+ }" did not throw
+FAIL Element.closest with context node 'test4' and selector 'select > :scope' should throw assert_throws: function "function () {
+ el.closest(aSelector);
+ }" did not throw
+FAIL Element.closest with context node 'test4' and selector 'div > :scope' should throw assert_throws: function "function () {
+ el.closest(aSelector);
+ }" did not throw
+PASS Element.closest with context node 'test4' and selector ':has(> :scope)' should throw
Harness: the test ran to completion.
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698