testEl = document.createElement( "div" ),
input = document.createElement( "input" );
-testEl.innerHTML = "<a href=''></a>";
-
-// Support: Chrome 38 - 77 only
-// Chrome considers anchor elements with href to match ":enabled"
-// See https://bugs.chromium.org/p/chromium/issues/detail?id=993387
-if ( testEl.querySelectorAll( ":enabled" ).length ) {
- rbuggyQSA.push( ":enabled" );
-}
-
// Support: IE 9 - 11+
// IE's :disabled selector does not pick up the children of disabled fieldsets
if ( isIE ) {
beforeEach: function() {
this.safari = /\bsafari\b/i.test( navigator.userAgent ) &&
!/\bchrome\b/i.test( navigator.userAgent );
- this.chrome = /\bchrome\b/i.test( navigator.userAgent ) &&
- !/\bedge\b/i.test( navigator.userAgent );
},
afterEach: moduleTeardown
} );
"disabled-select", "disabled-optgroup", "disabled-option" ]
);
- if ( QUnit.jQuerySelectors || !this.chrome ) {
- // Support: Chrome 75+
- // Chrome recognizes anchor elements as enabled.
+ if ( QUnit.jQuerySelectors ) {
assert.t(
"Enabled elements",
"#enabled-fieldset :enabled",