1 This checks for proper behavior of caretRangeFromPoint before and after scrolling.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS Range.startContainer check (got [object Text], expected [object Text])
7 PASS Range.startOffset check (got 0, expected 0)
8 PASS Range.startContainer check (got [object Text], expected [object Text])
9 PASS Range.startOffset check (got 12, expected 12)
10 PASS Range.startContainer check (got [object Text], expected [object Text])
11 PASS Range.startOffset check (got 2, expected 2)
12 PASS Range.startContainer check (got [object Text], expected [object Text])
13 PASS Range.startOffset check (got 14, expected 14)
15 PASS Range.startContainer check (got [object Text], expected [object Text])
16 PASS Range.startOffset check (got 0, expected 0)
17 PASS Range.startContainer check (got [object Text], expected [object Text])
18 PASS Range.startOffset check (got 12, expected 12)
19 PASS Range.startContainer check (got [object Text], expected [object Text])
20 PASS Range.startOffset check (got 2, expected 2)
21 PASS Range.startContainer check (got [object Text], expected [object Text])
22 PASS Range.startOffset check (got 14, expected 14)
24 PASS Range.startContainer check (got [object Text], expected [object Text])
25 PASS Range.startOffset check (got 1, expected 0)
26 PASS Range.startContainer check (got [object Text], expected [object Text])
27 PASS Range.startOffset check (got 13, expected 12)
28 PASS Range.startContainer check (got [object Text], expected [object Text])
29 PASS Range.startOffset check (got 2, expected 2)
30 PASS Range.startContainer check (got [object Text], expected [object Text])
31 PASS Range.startOffset check (got 14, expected 14)
33 PASS successfullyParsed is true