1 This tests that the line number of a character offset is computed correctly for textarea elements.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS axArea1.lineForIndex(index) is 0
7 PASS axArea1.lineForIndex(index) is 0
8 PASS axArea1.lineForIndex(index) is 0
9 PASS axArea1.lineForIndex(index) is 0
10 PASS axArea1.lineForIndex(index) is 0
11 PASS axArea1.lineForIndex(index) is 0
12 PASS axArea1.lineForIndex(index) is 0
13 PASS axArea1.lineForIndex(index) is 1
14 PASS axArea1.lineForIndex(index) is 1
15 PASS axArea1.lineForIndex(index) is 1
16 PASS axArea1.lineForIndex(index) is 1
17 PASS axArea1.lineForIndex(index) is 1
18 PASS axArea1.lineForIndex(index) is 1
19 PASS axArea1.lineForIndex(index) is 1
20 PASS axArea1.lineForIndex(index) is 2
21 PASS axArea1.lineForIndex(index) is 2
22 PASS axArea1.lineForIndex(index) is 2
23 PASS axArea1.lineForIndex(index) is 2
24 PASS axArea1.lineForIndex(index) is 2
25 PASS axArea1.lineForIndex(index) is 2
26 PASS axArea1.lineForIndex(index) is 2
27 PASS axArea1.lineForIndex(area1.textLength) is 2
28 PASS successfullyParsed is true