| 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 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <script src="../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 | 8 |
| 9 <!-- Note: the xxxxxx... should wrap onto another line on all platforms. --> | 9 <!-- Note: the xxxxxx... should wrap onto another line on all platforms. --> |
| 10 <p id="paragraph" style="width: 8em; word-wrap: break-word;"> | 10 <p id="paragraph" style="width: 8em; word-wrap: break-word;"> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 // Get the bounds from the accessibility tree. | 32 // Get the bounds from the accessibility tree. |
| 33 var wordStart = axStaticText.wordStart(i); | 33 var wordStart = axStaticText.wordStart(i); |
| 34 var wordEnd = axStaticText.wordEnd(i); | 34 var wordEnd = axStaticText.wordEnd(i); |
| 35 debug("Character " + i + ": '" + text.substr(i, 1) + | 35 debug("Character " + i + ": '" + text.substr(i, 1) + |
| 36 "' word=(" + wordStart + ", " + wordEnd + "): '" + | 36 "' word=(" + wordStart + ", " + wordEnd + "): '" + |
| 37 text.substr(wordStart, wordEnd - wordStart) + "'"); | 37 text.substr(wordStart, wordEnd - wordStart) + "'"); |
| 38 } | 38 } |
| 39 } | 39 } |
| 40 </script> | 40 </script> |
| 41 | 41 |
| 42 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 43 </body> | 42 </body> |
| 44 </html> | 43 </html> |
| OLD | NEW |