Add support for old Opera/Presto engine.

This commit is contained in:
Kevin Schaaf
2016-06-07 12:02:46 -07:00
parent 0aa8dee6d4
commit 39da99dc8f
6 changed files with 19 additions and 4 deletions

View File

@@ -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'));