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 role="list"> | 8 <div role="list"> |
9 <div role="listitem" aria-label="item 1"><img src='#' width=100 height=100></div
> | 9 <div role="listitem" aria-label="item 1"><img src='#' width=100 height=100></div
> |
10 <div role="listitem" aria-label="item 2"><img src='#' width=100 height=100></div
> | 10 <div role="listitem" aria-label="item 2"><img src='#' width=100 height=100></div
> |
(...skipping 12 matching lines...) Expand all Loading... |
23 document.getElementById("body").focus(); | 23 document.getElementById("body").focus(); |
24 var obj = accessibilityController.focusedElement; | 24 var obj = accessibilityController.focusedElement; |
25 | 25 |
26 debug("obj.childAtIndex(0).role = " + obj.childAtIndex(0).role); | 26 debug("obj.childAtIndex(0).role = " + obj.childAtIndex(0).role); |
27 debug("obj.childAtIndex(0).childAtIndex(0).role = " + obj.childAtIndex
(0).childAtIndex(0).role); | 27 debug("obj.childAtIndex(0).childAtIndex(0).role = " + obj.childAtIndex
(0).childAtIndex(0).role); |
28 debug("obj.childAtIndex(0).childAtIndex(1).role = " + obj.childAtIndex
(0).childAtIndex(1).role); | 28 debug("obj.childAtIndex(0).childAtIndex(1).role = " + obj.childAtIndex
(0).childAtIndex(1).role); |
29 } | 29 } |
30 | 30 |
31 </script> | 31 </script> |
32 | 32 |
33 <script src="../fast/js/resources/js-test-post.js"></script> | |
34 </body> | 33 </body> |
35 </html> | 34 </html> |
OLD | NEW |