| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <body> | 3 <body> |
| 4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../resources/js-test.js"></script> |
| 5 | 5 |
| 6 <img tabindex="0" id="svg-image" alt="interactive SVG" > | 6 <img tabindex="0" id="svg-image" alt="interactive SVG" > |
| 7 | 7 |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 <script> | 9 <script> |
| 10 | 10 |
| 11 description("This test ensures that accessibility elements can be created out of
what a remote SVG image defines.") | 11 description("This test ensures that accessibility elements can be created out of
what a remote SVG image defines.") |
| 12 window.jsTestIsAsync = true; | 12 window.jsTestIsAsync = true; |
| 13 | 13 |
| 14 // Return the page's relative coordinates. If we rely on the x() or y() of the a
ccessibility object, then | 14 // Return the page's relative coordinates. If we rely on the x() or y() of the a
ccessibility object, then |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 if (window.accessibilityController) { | 63 if (window.accessibilityController) { |
| 64 document.getElementById("svg-image").addEventListener("load", runAXTest); | 64 document.getElementById("svg-image").addEventListener("load", runAXTest); |
| 65 } | 65 } |
| 66 document.getElementById("svg-image").src = "resources/svg-face.svg"; | 66 document.getElementById("svg-image").src = "resources/svg-face.svg"; |
| 67 | 67 |
| 68 </script> | 68 </script> |
| 69 | 69 |
| 70 </body> | 70 </body> |
| 71 </html> | 71 </html> |
| 72 | 72 |
| OLD | NEW |