From 20cdf4e7de60f515a7acf6c70228c52668301d9b Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Tue, 18 Jul 2017 15:40:41 -0400 Subject: Support: Properly check for IE9 absolute scrollbox mishandling Ref gh-3589 Fixes gh-3699 Fixes gh-3730 Closes gh-3729 --- src/css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/css.js') diff --git a/src/css.js b/src/css.js index 79e06319c..87bf2481d 100644 --- a/src/css.js +++ b/src/css.js @@ -378,7 +378,7 @@ jQuery.each( [ "height", "width" ], function( i, dimension ) { // Account for unreliable border-box dimensions by comparing offset* to computed and // faking a content-box to get border and padding (gh-3699) - if ( isBorderBox && !support.borderBoxReliable() ) { + if ( isBorderBox && support.scrollboxSize() === styles.position ) { subtract -= Math.ceil( elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - parseFloat( styles[ dimension ] ) - -- cgit v1.2.3