mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-05-12 15:56:02 +00:00
Add support for old Opera/Presto engine.
This commit is contained in:
@@ -58,7 +58,8 @@ suite('HTMLHtmlElement', function() {
|
||||
var matches = html.matchesSelector ||
|
||||
html.mozMatchesSelector ||
|
||||
html.webkitMatchesSelector ||
|
||||
html.msMatchesSelector;
|
||||
html.msMatchesSelector ||
|
||||
html.oMatchesSelector;
|
||||
|
||||
assert.isTrue(matches.call(document.body, 'body'));
|
||||
assert.isTrue(matches.call(wrap(document.body), 'body'));
|
||||
|
||||
Reference in New Issue
Block a user