24 lines
632 B
Plaintext
24 lines
632 B
Plaintext
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
|
|
|