blob: a81a1fd74908c5af14dbe14b41f73c7f0eb84d38 [file] [log] [blame]
Tests that scrolling an element to a specific point can successfully scroll multiple nested scrolling views'.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5000-pixel box
5000-pixel box
5000-pixel box
Target
5000-pixel box
5000-pixel box
5000-pixel box
PASS window.pageYOffset is 0
PASS outerContainer.scrollTop is 0
PASS innerContainer.scrollTop is 0
PASS target.getBoundingClientRect().top is >= 15000
PASS target.getBoundingClientRect().top is 0
PASS target.getBoundingClientRect().top is 300
PASS target.getBoundingClientRect().top is 3000
PASS successfullyParsed is true
TEST COMPLETE