Position: Increase scrollbar test div to handle larger scrollbars

Fixes #15106
Closes gh-1811
This commit is contained in:
Scott González 2017-05-03 13:12:34 -04:00
parent 0b7246b6ee
commit efb1fee02b

View File

@ -84,9 +84,9 @@ $.position = {
return cachedScrollbarWidth;
}
var w1, w2,
div = $( "<div " +
"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" +
"<div style='height:100px;width:auto;'></div></div>" ),
div = $( "<div style=" +
"'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>" +
"<div style='height:300px;width:auto;'></div></div>" ),
innerDiv = div.children()[ 0 ];
$( "body" ).append( div );