blob: 11435a3da0ab7f29ebc81159f4e41c6e7ea7c1bc [file] [log] [blame]
Tests that scrolling to move an element to a specific point successfully scrolls both an iframe and a div with overflow.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5000-pixel box
5000-pixel box
PASS window.pageYOffset is 0
PASS frameWindow.pageYOffset is 0
PASS container.scrollTop is 0
PASS target.getBoundingClientRect().top is 0
PASS target.getBoundingClientRect().top is 300
PASS target.getBoundingClientRect().top is 3000
PASS successfullyParsed is true
TEST COMPLETE