Debian Codegraph @

vendor/static/jquery/src/selector/rbuggyQSA.js

raw
1 import { isIE } from "../var/isIE.js";
2 import { whitespace } from "../var/whitespace.js";
3
4 export var rbuggyQSA = isIE && new RegExp(
5
6 // Support: IE 9 - 11+
7 // IE's :disabled selector does not pick up the children of disabled fieldsets
8 ":enabled|:disabled|" +
9
10 // Support: IE 11+
11 // IE 11 doesn't find elements on a `[name='']` query in some cases.
12 // Adding a temporary attribute to the document before the selection works
13 // around the issue.
14 "\\[" + whitespace + "*name" + whitespace + "*=" +
15 whitespace + "*(?:''|\"\")"
16
17 );