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

Side by Side Diff: LayoutTests/fast/dom/Element/matches-expected.txt

Issue 133643006: Revert "Revert "Implement Element.matches(selectors)"" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/dom/Element/matches.html ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 PASS element.matches() threw exception TypeError: Failed to execute 'matches' on 'Element': 1 argument required, but only 0 present..
2 PASS element.matches('body') is true
3 PASS element.matches('html > .foo') is true
4 PASS element.matches('html') is false
5 PASS element.matches('html > .bar') is false
6 PASS element.matches('') threw exception SyntaxError: Failed to execute 'matches ' on 'Element': '' is not a valid selector..
7 PASS element.matches('!invalid!') threw exception SyntaxError: Failed to execute 'matches' on 'Element': '!invalid!' is not a valid selector..
8 PASS element.webkitMatchesSelector() threw exception TypeError: Failed to execut e 'webkitMatchesSelector' on 'Element': 1 argument required, but only 0 present. .
9 PASS element.webkitMatchesSelector('body') is true
10 PASS element.webkitMatchesSelector('html > .foo') is true
11 PASS element.webkitMatchesSelector('html') is false
12 PASS element.webkitMatchesSelector('html > .bar') is false
13 PASS element.webkitMatchesSelector('') threw exception SyntaxError: Failed to ex ecute 'webkitMatchesSelector' on 'Element': '' is not a valid selector..
14 PASS element.webkitMatchesSelector('!invalid!') threw exception SyntaxError: Fai led to execute 'webkitMatchesSelector' on 'Element': '!invalid!' is not a valid selector..
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
18
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Element/matches.html ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698