Skip to content

Commit efb1fee

Browse files
committed
Position: Increase scrollbar test div to handle larger scrollbars
Fixes #15106 Closes jquerygh-1811
1 parent 0b7246b commit efb1fee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/position.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ $.position = {
8484
return cachedScrollbarWidth;
8585
}
8686
var w1, w2,
87-
div = $( "<div " +
88-
"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" +
89-
"<div style='height:100px;width:auto;'></div></div>" ),
87+
div = $( "<div style=" +
88+
"'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>" +
89+
"<div style='height:300px;width:auto;'></div></div>" ),
9090
innerDiv = div.children()[ 0 ];
9191

9292
$( "body" ).append( div );

0 commit comments

Comments
 (0)