mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Position: Increase scrollbar test div to handle larger scrollbars
Fixes #15106 Closes gh-1811
This commit is contained in:
parent
0b7246b6ee
commit
efb1fee02b
@ -84,9 +84,9 @@ $.position = {
|
|||||||
return cachedScrollbarWidth;
|
return cachedScrollbarWidth;
|
||||||
}
|
}
|
||||||
var w1, w2,
|
var w1, w2,
|
||||||
div = $( "<div " +
|
div = $( "<div style=" +
|
||||||
"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" +
|
"'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>" +
|
||||||
"<div style='height:100px;width:auto;'></div></div>" ),
|
"<div style='height:300px;width:auto;'></div></div>" ),
|
||||||
innerDiv = div.children()[ 0 ];
|
innerDiv = div.children()[ 0 ];
|
||||||
|
|
||||||
$( "body" ).append( div );
|
$( "body" ).append( div );
|
||||||
|
Loading…
Reference in New Issue
Block a user