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 <p id="p" style="width: 10em;"> | 8 <p id="p" style="width: 10em;"> |
9 This paragraph contains two lines of text. | 9 This paragraph contains two lines of text. |
10 </p> | 10 </p> |
(...skipping 26 matching lines...) Expand all Loading... |
37 window.axInlineAfter1 = axStaticText.childAtIndex(1); | 37 window.axInlineAfter1 = axStaticText.childAtIndex(1); |
38 shouldBe("axInlineAfter1.stringValue", "'AXValue: two lines of text. One
'"); | 38 shouldBe("axInlineAfter1.stringValue", "'AXValue: two lines of text. One
'"); |
39 window.axInlineAfter2 = axStaticText.childAtIndex(2); | 39 window.axInlineAfter2 = axStaticText.childAtIndex(2); |
40 shouldBe("axInlineAfter2.stringValue", "'AXValue: more sentence.'"); | 40 shouldBe("axInlineAfter2.stringValue", "'AXValue: more sentence.'"); |
41 | 41 |
42 // Make sure the old object pointing to the second text box is no longer
valid. | 42 // Make sure the old object pointing to the second text box is no longer
valid. |
43 shouldBe("axInlineBefore1.stringValue", "'AXValue: '"); | 43 shouldBe("axInlineBefore1.stringValue", "'AXValue: '"); |
44 } | 44 } |
45 </script> | 45 </script> |
46 | 46 |
47 <script src="../fast/js/resources/js-test-post.js"></script> | |
48 </body> | 47 </body> |
49 </html> | 48 </html> |
OLD | NEW |