| 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"> | |
| 5 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 6 </head> | 5 </head> |
| 7 <body id="body"> | 6 <body id="body"> |
| 8 <svg> | 7 <svg> |
| 9 <g role="listitem"> | 8 <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> | 9 <rect id="rect" role="img" aria-label="very light magenta" x="40" y="246
" width="20" height="20" class="key colour1"></rect> |
| 11 </g> | 10 </g> |
| 12 </svg> | 11 </svg> |
| 13 <p id="description"></p> | 12 <p id="description"></p> |
| 14 <div id="console"></div> | 13 <div id="console"></div> |
| 15 <script> | 14 <script> |
| 16 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."); |
| 17 if (window.accessibilityController) { | 16 if (window.accessibilityController) { |
| 18 var rect = accessibilityController.accessibleElementById("rect"); | 17 var rect = accessibilityController.accessibleElementById("rect"); |
| 19 debug(rect.pathDescription); | 18 debug(rect.pathDescription); |
| 20 } | 19 } |
| 21 </script> | 20 </script> |
| 22 </body> | 21 </body> |
| 23 </html> | 22 </html> |
| OLD | NEW |