OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 | 7 |
8 <textarea id="textarea" cols=30 rows=20>This textarea contains several lines of
text. It demonstrates | 8 <textarea id="textarea" cols=30 rows=20>This textarea contains several lines of
text. It demonstrates |
9 how updating a single InlineTextBox is a lot more efficient than updating the wh
ole TextArea.</textarea> | 9 how updating a single InlineTextBox is a lot more efficient than updating the wh
ole TextArea.</textarea> |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 // inline text boxes in the last paragraph are reused. | 42 // inline text boxes in the last paragraph are reused. |
43 var inlineTextBoxesAfter = findAllDescendantsWithRole(axTextarea, 'AXRol
e: AXInlineTextBox'); | 43 var inlineTextBoxesAfter = findAllDescendantsWithRole(axTextarea, 'AXRol
e: AXInlineTextBox'); |
44 var firstInlineTextBoxAfter = inlineTextBoxesAfter[0]; | 44 var firstInlineTextBoxAfter = inlineTextBoxesAfter[0]; |
45 var lastInlineTextBoxAfter = inlineTextBoxesAfter[inlineTextBoxesAfter.l
ength - 1]; | 45 var lastInlineTextBoxAfter = inlineTextBoxesAfter[inlineTextBoxesAfter.l
ength - 1]; |
46 | 46 |
47 shouldBe("firstInlineTextBoxBefore.isEqual(firstInlineTextBoxAfter)", "f
alse"); | 47 shouldBe("firstInlineTextBoxBefore.isEqual(firstInlineTextBoxAfter)", "f
alse"); |
48 shouldBe("lastInlineTextBoxBefore.isEqual(lastInlineTextBoxAfter)", "tru
e"); | 48 shouldBe("lastInlineTextBoxBefore.isEqual(lastInlineTextBoxAfter)", "tru
e"); |
49 } | 49 } |
50 </script> | 50 </script> |
51 | 51 |
52 <script src="../fast/js/resources/js-test-post.js"></script> | |
53 </body> | 52 </body> |
54 </html> | 53 </html> |
OLD | NEW |