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

Unified Diff: LayoutTests/fast/selectors/element-closeset-expected.txt

Issue 693203004: Revert of Adding Element.closest() API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | « LayoutTests/fast/selectors/element-closeset.html ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/selectors/element-closeset-expected.txt
diff --git a/LayoutTests/fast/selectors/element-closeset-expected.txt b/LayoutTests/fast/selectors/element-closeset-expected.txt
deleted file mode 100644
index 14ce39e1db44cacceb14efaafcb798c9a5ed139e..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/selectors/element-closeset-expected.txt
+++ /dev/null
@@ -1,67 +0,0 @@
-This test makes sure the closest() API works correctly
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS theTarget.closest("#theTarget") is theTarget
-PASS theTarget.closest("ancestor") is ancestor
-PASS theTarget.closest("tribe ancestor") is ancestor
-PASS theTarget.closest("tribe > ancestor") is ancestor
-PASS theTarget.closest("realm + ancestor") is ancestor
-PASS theTarget.closest("realm ~ ancestor") is ancestor
-PASS theTarget.closest("tribe, ancestor") is ancestor
-PASS theTarget.closest("ancestor, tribe") is ancestor
-PASS theTarget.closest("tribe realm") is null
-PASS theTarget.closest("tribe realm throne") is null
-PASS theTarget.closest("tribe realm ancestor") is null
-PASS theTarget.closest("realm > ancestor") is null
-PASS theTarget.closest("throne + ancestor") is null
-PASS theTarget.closest("throne ~ ancestor") is null
-PASS theTarget.closest(".classic") is ancestor
-PASS theTarget.closest("#john") is ancestor
-PASS theTarget.closest("doe") is null
-PASS theTarget.closest("ancestor[name=old]") is ancestor
-PASS theTarget.closest(null) is null
-PASS theTarget.closest(undefined) is null
-PASS sour.closest("lemon") is sour
-PASS sour.closest("a, b, c, d") is d
-PASS sour.closest("a, b, c") is c
-PASS sour.closest("a, b") is b
-PASS sour.closest("d, c, b, a") is d
-PASS sour.closest("c, b, a") is c
-PASS sour.closest("b, a") is b
-PASS sour.closest("a") is a
-PASS document.closest is undefined
-PASS document.closest() threw exception TypeError: undefined is not a function.
-PASS theTarget.closest() threw exception TypeError: Failed to execute 'closest' on 'Element': 1 argument required, but only 0 present..
-PASS theTarget.closest("") threw exception SyntaxError: Failed to execute 'closest' on 'Element': '' is not a valid selector..
-PASS theTarget.closest(".123") threw exception SyntaxError: Failed to execute 'closest' on 'Element': '.123' is not a valid selector..
-PASS theTarget.closest(" ") threw exception SyntaxError: Failed to execute 'closest' on 'Element': ' ' is not a valid selector..
-PASS theTarget.closest(")") threw exception SyntaxError: Failed to execute 'closest' on 'Element': ')' is not a valid selector..
-PASS theTarget.closest("(") threw exception SyntaxError: Failed to execute 'closest' on 'Element': '(' is not a valid selector..
-PASS theTarget.closest("()") threw exception SyntaxError: Failed to execute 'closest' on 'Element': '()' is not a valid selector..
-PASS theTarget.closest("^_^") threw exception SyntaxError: Failed to execute 'closest' on 'Element': '^_^' is not a valid selector..
-PASS theTarget.closest("{") threw exception SyntaxError: Failed to execute 'closest' on 'Element': '{' is not a valid selector..
-PASS theTarget.closest("}") threw exception SyntaxError: Failed to execute 'closest' on 'Element': '}' is not a valid selector..
-PASS theTarget.closest("{}") threw exception SyntaxError: Failed to execute 'closest' on 'Element': '{}' is not a valid selector..
-PASS theTarget.closest(":scope") is theTarget
-PASS theTarget.closest("ancestor :scope") is theTarget
-PASS theTarget.closest("ancestor > :scope") is theTarget
-PASS theTarget.closest("sibling + :scope") is theTarget
-PASS theTarget.closest("sibling ~ :scope") is theTarget
-PASS theTarget.closest("#theTarget:scope") is theTarget
-PASS theTarget.closest(":scope#theTarget") is theTarget
-PASS theTarget.closest("[webkit]:scope#theTarget") is theTarget
-PASS theTarget.closest(":not([webkit=fast]):scope#theTarget") is null
-PASS theTarget.closest(":scope target") is null
-PASS theTarget.closest(":scope > target") is null
-PASS theTarget.closest(":scope + target") is null
-PASS theTarget.closest(":scope ~ target") is null
-PASS theTarget.closest(":scope *") is null
-PASS theTarget.closest(":scope > *") is null
-PASS theTarget.closest(":scope + *") is null
-PASS theTarget.closest(":scope ~ *") is null
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
« no previous file with comments | « LayoutTests/fast/selectors/element-closeset.html ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698