Index: LayoutTests/fast/dom/Element/matches-expected.txt |
diff --git a/LayoutTests/fast/dom/Element/matches-expected.txt b/LayoutTests/fast/dom/Element/matches-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5f31448fd17598cd6c1c9145e28c5e104a2cb106 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/Element/matches-expected.txt |
@@ -0,0 +1,18 @@ |
+PASS element.matches() threw exception TypeError: Failed to execute 'matches' on 'Element': 1 argument required, but only 0 present.. |
+PASS element.matches('body') is true |
+PASS element.matches('html > .foo') is true |
+PASS element.matches('html') is false |
+PASS element.matches('html > .bar') is false |
+PASS element.matches('') threw exception SyntaxError: Failed to execute 'matches' on 'Element': '' is not a valid selector.. |
+PASS element.matches('!invalid!') threw exception SyntaxError: Failed to execute 'matches' on 'Element': '!invalid!' is not a valid selector.. |
+PASS element.webkitMatchesSelector() threw exception TypeError: Failed to execute 'webkitMatchesSelector' on 'Element': 1 argument required, but only 0 present.. |
+PASS element.webkitMatchesSelector('body') is true |
+PASS element.webkitMatchesSelector('html > .foo') is true |
+PASS element.webkitMatchesSelector('html') is false |
+PASS element.webkitMatchesSelector('html > .bar') is false |
+PASS element.webkitMatchesSelector('') threw exception SyntaxError: Failed to execute 'webkitMatchesSelector' on 'Element': '' is not a valid selector.. |
+PASS element.webkitMatchesSelector('!invalid!') threw exception SyntaxError: Failed to execute 'webkitMatchesSelector' on 'Element': '!invalid!' is not a valid selector.. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |