haikuwebkit/LayoutTests/fast/layers/negative-scroll-positions-e...

13 lines
322 B
Plaintext

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