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 | 6 |
7 <body id="body"> | 7 <body id="body"> |
8 | 8 |
9 <label tabindex=0 onclick="performEvent();" id="labelElement">label</label> | 9 <label tabindex=0 onclick="performEvent();" id="labelElement">label</label> |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 document.getElementById("body").focus(); | 25 document.getElementById("body").focus(); |
26 var body = accessibilityController.focusedElement; | 26 var body = accessibilityController.focusedElement; |
27 var label = body.childAtIndex(0).childAtIndex(0); | 27 var label = body.childAtIndex(0).childAtIndex(0); |
28 | 28 |
29 // if successful, performEvent() will be called and we'll successfully p
arse. | 29 // if successful, performEvent() will be called and we'll successfully p
arse. |
30 label.press(); | 30 label.press(); |
31 } | 31 } |
32 | 32 |
33 </script> | 33 </script> |
34 | 34 |
35 <script src="../fast/js/resources/js-test-post.js"></script> | |
36 </body> | 35 </body> |
37 </html> | 36 </html> |
OLD | NEW |