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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy