Lines Matching refs:compareDocumentPosition
2099 if ( document.documentElement.compareDocumentPosition ) {
2101 var ret = a.compareDocumentPosition(b) & 4 ? -1 : a === b ? 0 : 1;
2332 var contains = document.compareDocumentPosition ? function(a, b){
2333 return a.compareDocumentPosition(b) & 16;
6224 return (this.contains) ? (this != el && this.contains(el)) : !!(this.compareDocumentPosition(el) & 16);
10260 if (element.compareDocumentPosition)
10261 return (element.compareDocumentPosition(ancestor) & 8) === 8;