blob: c83b251becc0b4e622c7a20e7bed7f9e698c98c3 [file] [log] [blame]
This tests that negative scrollTop and scrollLeft values are clamped to zero.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS attemptScroll(0, 0) is '0,0'
PASS attemptScroll(50, 50) is '50,50'
PASS attemptScroll(-50, -50) is '0,0'
PASS successfullyParsed is true
TEST COMPLETE