mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tests: Skip a scrollbar test in jQuery 3.2
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. Closes gh-1927 Ref jquery/jquery#3589 Ref jquery/jquery#3656
This commit is contained in:
parent
42bcdb90f6
commit
b8ec78a37a
@ -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( {
|
||||
|
Loading…
Reference in New Issue
Block a user