[go: nahoru, domu]

blob: 0178242a528b418bbf5beb7f1b109c86330b462b [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