aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/position/core.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/unit/position/core.js b/tests/unit/position/core.js
index 80992a311..49f02afab 100644
--- a/tests/unit/position/core.js
+++ b/tests/unit/position/core.js
@@ -640,7 +640,13 @@ QUnit.test( "within", function( assert ) {
}, "flipfit - left top" );
} );
-QUnit.test( "with scrollbars", function( assert ) {
+// jQuery 3.2 incorrectly handle scrollbars in WebKit/Blink-based browsers.
+// This is fixed in version 3.3, see https://github.com/jquery/jquery/issues/3589.
+// As the data here comes from jQuery directly and the changes to fix it
+// are non-trivial: https://github.com/jquery/jquery/pull/3656, just accept
+// that scrollbar data in this jQuery version is inaccurate.
+QUnit[ jQuery.fn.jquery.substring( 0, 4 ) === "3.2." ? "skip" : "test" ](
+ "with scrollbars", function( assert ) {
assert.expect( 4 );
$( "#scrollx" ).css( {