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