blob: f7f479c8583cc6763ade6f7a28c451b90b245c46 [file] [log] [blame]
Verifies that Element.scrollIntoView() does not scroll away the top content inset if the element is already visible. This test requires WebKitTestRunner.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS originalContentOffset.x is 0
PASS originalContentOffset.y is -100
PASS finalContentOffset.x is 0
PASS finalContentOffset.y is -100
PASS successfullyParsed is true
TEST COMPLETE