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

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

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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
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.

Powered by Google App Engine
This is Rietveld 408576698