1 Test that hitting areas outside columns takes us to the right text content inside columns.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS document.caretRangeFromPoint(50,0).startOffset is 0
8 PASS document.caretRangeFromPoint(150,0).startOffset is 0
9 PASS document.caretRangeFromPoint(189,0).startOffset is 0
11 PASS document.caretRangeFromPoint(190,0).startOffset is 12
12 PASS document.caretRangeFromPoint(250,0).startOffset is 12
13 PASS document.caretRangeFromPoint(289,0).startOffset is 12
15 PASS document.caretRangeFromPoint(290,0).startOffset is 24
16 PASS document.caretRangeFromPoint(350,0).startOffset is 24
17 PASS document.caretRangeFromPoint(450,0).startOffset is 24
19 PASS document.caretRangeFromPoint(50,100).startOffset is 12
20 PASS document.caretRangeFromPoint(150,100).startOffset is 12
21 PASS document.caretRangeFromPoint(189,100).startOffset is 12
23 PASS document.caretRangeFromPoint(190,100).startOffset is 24
24 PASS document.caretRangeFromPoint(250,100).startOffset is 24
25 PASS document.caretRangeFromPoint(289,100).startOffset is 24
26 To the left of the first column:
27 PASS document.caretRangeFromPoint(0,10).startOffset is 0
28 PASS document.caretRangeFromPoint(0,30).startOffset is 0
29 PASS document.caretRangeFromPoint(0,50).startOffset is 4
30 PASS document.caretRangeFromPoint(0,70).startOffset is 8
31 PASS document.caretRangeFromPoint(0,90).startOffset is 12
32 To the right of the third column:
33 PASS document.caretRangeFromPoint(400,10).startOffset is 24
34 PASS document.caretRangeFromPoint(400,30).startOffset is 27
35 PASS document.caretRangeFromPoint(400,50).startOffset is 31
36 PASS document.caretRangeFromPoint(400,70).startOffset is 35
37 In the gap between the first and second columns:
38 PASS document.caretRangeFromPoint(180,20).startOffset is 3
39 PASS document.caretRangeFromPoint(180,40).startOffset is 7
40 PASS document.caretRangeFromPoint(180,60).startOffset is 11
41 PASS document.caretRangeFromPoint(180,69).startOffset is 11
42 In the gap between the second and third columns:
43 PASS document.caretRangeFromPoint(280,20).startOffset is 15
44 PASS document.caretRangeFromPoint(280,40).startOffset is 19
45 PASS document.caretRangeFromPoint(280,60).startOffset is 23
46 PASS document.caretRangeFromPoint(280,69).startOffset is 23
47 PASS successfullyParsed is true
50 xxx xxx xxx xxx xxx xxx xxx xxx xxx