We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89798cf commit ca028f3Copy full SHA for ca028f3
src/selector.js
@@ -558,6 +558,9 @@ setDocument = Sizzle.setDocument = function( node ) {
558
var adown = a.nodeType === 9 ? a.documentElement : a,
559
bup = b && b.parentNode;
560
return a === bup || !!( bup && bup.nodeType === 1 && (
561
+
562
+ // Support: IE 9 - 11+
563
+ // IE doesn't have `contains` on SVG.
564
adown.contains ?
565
adown.contains( bup ) :
566
a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
0 commit comments