blob: d22874047833e7ae9d463fb3518544c5cd846870 [file] [log] [blame]
Tests that scrolling an element to a specific point successfully scrolls the main window.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5000-pixel box
Target
5000-pixel box
PASS window.pageYOffset 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