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="../resources/js-test.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> |
11 <a href="#">more test</a> | 11 <a href="#">more test</a> |
12 </div> | 12 </div> |
13 | 13 |
14 <p id="description"></p> | 14 <p id="description"></p> |
(...skipping 13 matching lines...) Expand all Loading... |
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 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |