diff options
Diffstat (limited to 'src/css/support.js')
-rw-r--r-- | src/css/support.js | 7 |
1 files changed, 1 insertions, 6 deletions
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+ |