| OLD | NEW |
| 1 This tests that lineNumberForPosition is reported correctly for textarea and con
tenteditable elements. | 1 This tests that lineNumberForPosition is reported correctly for textarea and con
tenteditable elements. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS area1.selectionStart = (0); area1.selectionEnd = (0); area1AXUIElement.inse
rtionPointLineNumber; is currentLine | 6 PASS area1.selectionStart = (0); area1.selectionEnd = (0); area1AXUIElement.inse
rtionPointLineNumber; is currentLine |
| 7 PASS area1.selectionStart = (7); area1.selectionEnd = (7); area1AXUIElement.inse
rtionPointLineNumber; is currentLine | 7 PASS area1.selectionStart = (7); area1.selectionEnd = (7); area1AXUIElement.inse
rtionPointLineNumber; is currentLine |
| 8 PASS area1.selectionStart = (14); area1.selectionEnd = (14); area1AXUIElement.in
sertionPointLineNumber; is currentLine | 8 PASS area1.selectionStart = (14); area1.selectionEnd = (14); area1AXUIElement.in
sertionPointLineNumber; is currentLine |
| 9 PASS area2.focus(); area1AXUIElement.insertionPointLineNumber; is -1 | 9 PASS area2.focus(); area1AXUIElement.insertionPointLineNumber; is -1 |
| 10 PASS window.getSelection().setBaseAndExtent(contenteditableLine1, 1, contentedit
ableLine1, 1); contenteditableAXUIElement.insertionPointLineNumber; is 0 | 10 PASS window.getSelection().setBaseAndExtent(contenteditableLine1, 1, contentedit
ableLine1, 1); contenteditableAXUIElement.insertionPointLineNumber; is 0 |
| 11 PASS contenteditableLine2.selectionStart = 1; contenteditableLine2.selectionEnd
= 1;contenteditableAXUIElement.insertionPointLineNumber; is -1 | 11 PASS contenteditableLine2.focus(); contenteditableLine2.selectionStart = 1; cont
enteditableLine2.selectionEnd = 1;contenteditableAXUIElement.insertionPointLineN
umber; is -1 |
| 12 PASS window.getSelection().setBaseAndExtent(contenteditableLine3, 1, contentedit
ableLine3, 1); contenteditableAXUIElement.insertionPointLineNumber; is 2 | 12 PASS window.getSelection().setBaseAndExtent(contenteditableLine3, 1, contentedit
ableLine3, 1); contenteditableAXUIElement.insertionPointLineNumber; is 2 |
| 13 PASS textareaAXUIElement.insertionPointLineNumber is 0 | 13 PASS textareaAXUIElement.insertionPointLineNumber is 0 |
| 14 PASS successfullyParsed is true | 14 PASS successfullyParsed is true |
| 15 | 15 |
| 16 TEST COMPLETE | 16 TEST COMPLETE |
| 17 | 17 |
| 18 Line1 | 18 Line1 |
| 19 | 19 |
| 20 Line3 | 20 Line3 |
| OLD | NEW |