Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / table-with-aria-role.html
blobebbce6ae883ca531e1bf06ca61041e60107830e1
1 <html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <body id="body">
8 <table border=1 role="button">
9 <tr><td>test</td><td>test</td><td>test</td></tr>
10 <tr><td>test</td><td>test</td><td>test</td></tr>
11 </table>
13 <table border=1 role="menu">
14 <tr><td>test</td><td>test</td><td>test</td></tr>
15 <tr><td>test</td><td>test</td><td>test</td></tr>
16 </table>
18 <div id="result"></div>
20 <script>
21 if (window.accessibilityController) {
22 var body = document.getElementById("body");
23 body.focus();
24 result.innerText += accessibilityController.focusedElement.attributesOfChildren();
26 </script>
27 </body>
28 </html>