| 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 id="body"> | 6 <body id="body"> |
| 7 | 7 |
| 8 <div id="textrole" tabindex=0 role="text" aria-label="all at once"> | 8 <div id="textrole" tabindex=0 role="text" aria-label="all at once"> |
| 9 <b>hello world</b> | 9 <b>hello world</b> |
| 10 <i>this is a test</i> | 10 <i>this is a test</i> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 shouldBe("textrole.stringValue", "'AXValue: all at once'"); | 26 shouldBe("textrole.stringValue", "'AXValue: all at once'"); |
| 27 | 27 |
| 28 // now check the hit-testing | 28 // now check the hit-testing |
| 29 var x = textrole.clickPointX; | 29 var x = textrole.clickPointX; |
| 30 var y = textrole.clickPointY; | 30 var y = textrole.clickPointY; |
| 31 shouldBe("textrole.elementAtPoint(x, y).isEqual(textrole)", "true"); | 31 shouldBe("textrole.elementAtPoint(x, y).isEqual(textrole)", "true"); |
| 32 } | 32 } |
| 33 | 33 |
| 34 </script> | 34 </script> |
| 35 | 35 |
| 36 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 37 </body> | 36 </body> |
| 38 </html> | 37 </html> |
| OLD | NEW |