17 lines
430 B
Plaintext
17 lines
430 B
Plaintext
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
|
|
|