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

Unified Diff: LayoutTests/fast/dom/Element/matches.html

Issue 103303005: Revert "Implement Element.matches(selectors)" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | « no previous file | LayoutTests/fast/dom/Element/matches-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Element/matches.html
diff --git a/LayoutTests/fast/dom/Element/matches.html b/LayoutTests/fast/dom/Element/matches.html
deleted file mode 100644
index 88eb7e74487182d341864d236f7c5949e8291bab..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Element/matches.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body class="foo">
-<script>
-var element = document.body;
-["matches", "webkitMatchesSelector"].forEach(function(func)
-{
- shouldThrow("element." + func + "()");
- shouldBeTrue("element." + func + "('body')");
- shouldBeTrue("element." + func + "('html > .foo')");
- shouldBeFalse("element." + func + "('html')");
- shouldBeFalse("element." + func + "('html > .bar')");
- shouldThrow("element." + func + "('')");
- shouldThrow("element." + func + "('!invalid!')");
-});
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Element/matches-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698