OLD | NEW |
(Empty) | |
| 1 Test that hitting areas outside columns takes us to the right text content insid
e columns. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Above first column: |
| 7 PASS document.caretRangeFromPoint(450,0).startOffset is 0 |
| 8 PASS document.caretRangeFromPoint(350,0).startOffset is 0 |
| 9 PASS document.caretRangeFromPoint(291,0).startOffset is 0 |
| 10 Above second column: |
| 11 PASS document.caretRangeFromPoint(290,0).startOffset is 12 |
| 12 PASS document.caretRangeFromPoint(250,0).startOffset is 12 |
| 13 PASS document.caretRangeFromPoint(191,0).startOffset is 12 |
| 14 Above third column: |
| 15 PASS document.caretRangeFromPoint(190,0).startOffset is 24 |
| 16 PASS document.caretRangeFromPoint(150,0).startOffset is 24 |
| 17 PASS document.caretRangeFromPoint(50,0).startOffset is 24 |
| 18 Below first column: |
| 19 PASS document.caretRangeFromPoint(450,100).startOffset is 12 |
| 20 PASS document.caretRangeFromPoint(350,100).startOffset is 12 |
| 21 PASS document.caretRangeFromPoint(291,100).startOffset is 12 |
| 22 Below second column: |
| 23 PASS document.caretRangeFromPoint(290,100).startOffset is 24 |
| 24 PASS document.caretRangeFromPoint(250,100).startOffset is 24 |
| 25 PASS document.caretRangeFromPoint(191,100).startOffset is 24 |
| 26 To the right of the first column: |
| 27 PASS document.caretRangeFromPoint(400,10).startOffset is 0 |
| 28 PASS document.caretRangeFromPoint(400,30).startOffset is 0 |
| 29 PASS document.caretRangeFromPoint(400,50).startOffset is 4 |
| 30 PASS document.caretRangeFromPoint(400,70).startOffset is 8 |
| 31 PASS document.caretRangeFromPoint(400,90).startOffset is 12 |
| 32 To the left of the third column: |
| 33 PASS document.caretRangeFromPoint(0,10).startOffset is 24 |
| 34 PASS document.caretRangeFromPoint(0,30).startOffset is 27 |
| 35 PASS document.caretRangeFromPoint(0,50).startOffset is 31 |
| 36 PASS document.caretRangeFromPoint(0,70).startOffset is 35 |
| 37 In the gap between the first and second columns: |
| 38 PASS document.caretRangeFromPoint(291,20).startOffset is 3 |
| 39 PASS document.caretRangeFromPoint(291,40).startOffset is 7 |
| 40 PASS document.caretRangeFromPoint(291,60).startOffset is 11 |
| 41 PASS document.caretRangeFromPoint(291,69).startOffset is 11 |
| 42 PASS document.caretRangeFromPoint(290,20).startOffset is 12 |
| 43 PASS document.caretRangeFromPoint(290,40).startOffset is 16 |
| 44 PASS document.caretRangeFromPoint(290,60).startOffset is 20 |
| 45 PASS document.caretRangeFromPoint(290,69).startOffset is 20 |
| 46 In the gap between the second and third columns: |
| 47 PASS document.caretRangeFromPoint(191,20).startOffset is 15 |
| 48 PASS document.caretRangeFromPoint(191,40).startOffset is 19 |
| 49 PASS document.caretRangeFromPoint(191,60).startOffset is 23 |
| 50 PASS document.caretRangeFromPoint(191,69).startOffset is 23 |
| 51 PASS document.caretRangeFromPoint(190,20).startOffset is 24 |
| 52 PASS document.caretRangeFromPoint(190,40).startOffset is 28 |
| 53 PASS document.caretRangeFromPoint(190,60).startOffset is 32 |
| 54 PASS document.caretRangeFromPoint(190,69).startOffset is 32 |
| 55 PASS successfullyParsed is true |
| 56 |
| 57 TEST COMPLETE |
| 58 xxx xxx xxx xxx xxx xxx xxx xxx xxx |
OLD | NEW |