1 Test that hitting areas outside a paged container takes us to the right text content on some page.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS successfullyParsed is true
10 PASS document.caretRangeFromPoint(50,0).startOffset is 0
11 PASS document.caretRangeFromPoint(150,0).startOffset is 0
12 PASS document.caretRangeFromPoint(300,0).startOffset is 0
13 To the left of page 1:
14 PASS document.caretRangeFromPoint(0,20).startOffset is 0
15 PASS document.caretRangeFromPoint(0,60).startOffset is 0
16 PASS document.caretRangeFromPoint(0,100).startOffset is 4
17 PASS document.caretRangeFromPoint(0,140).startOffset is 8
18 To the right of page 1:
19 PASS document.caretRangeFromPoint(400,20).startOffset is 0
20 PASS document.caretRangeFromPoint(400,60).startOffset is 3
21 PASS document.caretRangeFromPoint(400,100).startOffset is 7
22 PASS document.caretRangeFromPoint(400,140).startOffset is 11
24 To the left of page 2:
25 PASS document.caretRangeFromPoint(0,60).startOffset is 12
26 PASS document.caretRangeFromPoint(0,100).startOffset is 16
27 PASS document.caretRangeFromPoint(0,140).startOffset is 20
28 To the right of page 2:
29 PASS document.caretRangeFromPoint(400,60).startOffset is 15
30 PASS document.caretRangeFromPoint(400,100).startOffset is 19
31 PASS document.caretRangeFromPoint(400,140).startOffset is 23
33 To the left of page 3:
34 PASS document.caretRangeFromPoint(0,60).startOffset is 24
35 PASS document.caretRangeFromPoint(0,100).startOffset is 28
36 PASS document.caretRangeFromPoint(0,140).startOffset is 32
37 To the right of page 3:
38 PASS document.caretRangeFromPoint(400,60).startOffset is 27
39 PASS document.caretRangeFromPoint(400,100).startOffset is 31
40 PASS document.caretRangeFromPoint(400,140).startOffset is 35
41 xxx xxx xxx xxx xxx xxx xxx xxx xxx