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 <div id="container" tabindex="-1"></div> | 6 <div id="container" tabindex="-1"></div> |
7 | 7 |
8 <canvas id="canvas" tabindex="-1"></canvas> | 8 <canvas id="canvas" tabindex="-1"></canvas> |
9 | 9 |
10 <div id="console"></div> | 10 <div id="console"></div> |
11 <script> | 11 <script> |
12 description("This test makes sure that AccessibilityNodeObjects are properly det
ached when the node they point to is reparented to a location that allows them t
o have a renderer."); | 12 description("This test makes sure that AccessibilityNodeObjects are properly det
ached when the node they point to is reparented to a location that allows them t
o have a renderer."); |
13 | 13 |
14 if (window.testRunner && window.accessibilityController) { | 14 if (window.testRunner && window.accessibilityController) { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 // Ensure that the new accessibility object for the now-reparented node has
the correct role. | 56 // Ensure that the new accessibility object for the now-reparented node has
the correct role. |
57 window.reparentedButtonRole = axReparentedElement.role; | 57 window.reparentedButtonRole = axReparentedElement.role; |
58 shouldBe("reparentedButtonRole", "expectedButtonRole"); | 58 shouldBe("reparentedButtonRole", "expectedButtonRole"); |
59 } | 59 } |
60 | 60 |
61 </script> | 61 </script> |
62 | 62 |
63 </body> | 63 </body> |
64 </html> | 64 </html> |
OLD | NEW |