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; 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 );