blob: 006074275b2465921a77bf31df3b9cf1c9402f68 [file] [log] [blame]
This tests that visibleCharacterRange returns expected visible ranges.
Range of text-less div: {0, 0}
Range of text div with default view size: {0, 4200}
Range with view 0x500, scrollTop 0: {9223372036854775807, 0}
Range with view 500x0, scrollTop 0: {9223372036854775807, 0}
Range with view 1x500, scrollTop 0: {9223372036854775807, 0}
Range with view 500x1, scrollTop 0: {9223372036854775807, 0}
Range with view 80x80, scrollTop 0: {0, 20}
Range with view 500x200, scrollTop 0: {0, 720}
PASS successfullyParsed is true
TEST COMPLETE