OLD | NEW |
| (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 | |
OLD | NEW |