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 <svg> | 7 <svg> |
8 <g role="listitem"> | 8 <g role="listitem"> |
9 <rect id="rect" role="img" aria-label="very light magenta" x="40" y="246
" width="20" height="20" class="key colour1"></rect> | 9 <rect id="rect" role="img" aria-label="very light magenta" x="40" y="246
" width="20" height="20" class="key colour1"></rect> |
10 </g> | 10 </g> |
11 </svg> | 11 </svg> |
12 <p id="description"></p> | 12 <p id="description"></p> |
13 <div id="console"></div> | 13 <div id="console"></div> |
14 <script> | 14 <script> |
15 description("This tests that asking for the path from a SVG element that d
oes not have one will not crash."); | 15 description("This tests that asking for the path from a SVG element that d
oes not have one will not crash."); |
16 if (window.accessibilityController) { | 16 if (window.accessibilityController) { |
17 var rect = accessibilityController.accessibleElementById("rect"); | 17 var rect = accessibilityController.accessibleElementById("rect"); |
18 debug(rect.pathDescription); | 18 debug(rect.pathDescription); |
19 } | 19 } |
20 </script> | 20 </script> |
21 </body> | 21 </body> |
22 </html> | 22 </html> |
OLD | NEW |