Skip to content

Commit 75d2f7c

Browse files
committedDec 22, 2014
Fix PositionAndSizeTest#testShouldGetCoordinatesOfAnElementWithFixedPosition so that it does what it means in the larger browser windows.
"placeholder" has to be taller than the viewport so that scrolling to the "bottom" results in some scrolling.
1 parent 63657fa commit 75d2f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎common/src/web/coordinates_tests/page_with_fixed_element.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</head>
66
<body>
77
<div id="fixed" style="position:fixed; top:0px; left:100px; background-color:red">fixed red box</div>
8-
<div id="placeholder" style="height: 1000px; background-color:green">Placeholder</div>
8+
<div id="placeholder" style="height: 5000px; background-color:green">Placeholder</div>
99
<div id="bottom">Element at the bottom</div>
1010
<div>Tex after box</div>
1111
</body>

0 commit comments

Comments
 (0)
Please sign in to comment.