blob: e3d24b787840957bf383df1257215d4bca95f859 [file] [log] [blame]
Verifies that programmatically focusing an input element with preventScroll: true does not cause the page to scroll. To run the test manually, tap or click the button and check that the page does not scroll to the bottom.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.activeElement is input
PASS pageYOffset is 0
PASS successfullyParsed is true
TEST COMPLETE
Focus input