Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / svg-path-crash.html
blobd697a9558b9d8d5012bcbb55fade7c0b36876e1b
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body id="body">
7 <svg>
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>
10 </g>
11 </svg>
12 <p id="description"></p>
13 <div id="console"></div>
14 <script>
15 description("This tests that asking for the path from a SVG element that does not have one will not crash.");
16 if (window.accessibilityController) {
17 var rect = accessibilityController.accessibleElementById("rect");
18 debug(rect.pathDescription);
20 </script>
21 </body>
22 </html>