diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/css.js | 2 | ||||
-rw-r--r-- | src/css/curCSS.js | 5 | ||||
-rw-r--r-- | src/css/support.js | 7 | ||||
-rw-r--r-- | src/selector/rbuggyQSA.js | 1 |
4 files changed, 4 insertions, 11 deletions
diff --git a/src/css.js b/src/css.js index 72a807bfc..3e7073507 100644 --- a/src/css.js +++ b/src/css.js @@ -151,7 +151,7 @@ function getWidthOrHeight( elem, dimension, extra ) { // Support: IE 10 - 11+ // IE misreports `getComputedStyle` of table rows with width/height // set in CSS while `offset*` properties report correct values. - // Support: Firefox 70+ + // Support: Firefox 70 - 135+ // Firefox includes border widths // in computed dimensions for table rows. (gh-4529) ( !support.reliableTrDimensions() && nodeName( elem, "tr" ) ) ) && diff --git a/src/css/curCSS.js b/src/css/curCSS.js index b0f0a7555..942017bbe 100644 --- a/src/css/curCSS.js +++ b/src/css/curCSS.js @@ -30,10 +30,9 @@ export function curCSS( elem, name, computed ) { if ( isCustomProp && ret ) { - // Support: Firefox 105+, Chrome <=105+ + // Support: Firefox 105 - 135+ // Spec requires trimming whitespace for custom properties (gh-4926). - // Firefox only trims leading whitespace. Chrome just collapses - // both leading & trailing whitespace to a single space. + // Firefox only trims leading whitespace. // // Fall back to `undefined` if empty string returned. // This collapses a missing definition with property defined diff --git a/src/css/support.js b/src/css/support.js index 93459c6b6..bca0b6dbf 100644 --- a/src/css/support.js +++ b/src/css/support.js @@ -25,12 +25,7 @@ support.reliableTrDimensions = function() { tr = document.createElement( "tr" ); table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; - tr.style.cssText = "box-sizing:content-box;border:1px solid"; - - // Support: Chrome 86+ - // Height set through cssText does not get applied. - // Computed height then comes back as 0. - tr.style.height = "1px"; + tr.style.cssText = "box-sizing:content-box;border:1px solid;height:1px"; div.style.height = "9px"; // Support: Android Chrome 86+ diff --git a/src/selector/rbuggyQSA.js b/src/selector/rbuggyQSA.js index b056ffe75..acd277554 100644 --- a/src/selector/rbuggyQSA.js +++ b/src/selector/rbuggyQSA.js @@ -25,7 +25,6 @@ if ( isIE ) { if ( !support.cssHas ) { - // Support: Chrome 105 - 110+, Safari 15.4 - 16.3+ // Our regular `try-catch` mechanism fails to detect natively-unsupported // pseudo-classes inside `:has()` (such as `:has(:contains("Foo"))`) // in browsers that parse the `:has()` argument as a forgiving selector list. |