| <script src="../resources/js-test.js"></script> |
| <script src="../resources/accessibility-helper.js"></script> |
| <body id="body"> |
| <div id="container"> |
| <div role="grid"> |
| <div role="row"> |
| <div role="columnheader">col head 1</div> |
| <div role="columnheader">col head 2</div> |
| <div role="columnheader">col head 3</div> |
| </div> |
| <div role="row"> |
| <div role="rowheader">row head< 1/div> |
| <div role="gridcell">data</div> |
| <div role="rowheader">row head 2</div> |
| </div> |
| <div role="row"> |
| <div role="rowheader">row head 3</div> |
| <div role="rowheader">row head 4</div> |
| <div role="columnheader">col head 4</div> |
| </div> |
| </div> |
| </div> |
| <p>End of test</p> |
| <div id="console"></div> |
| <script> |
| if (window.accessibilityController) { |
| var container = accessibilityController.accessibleElementById("container"); |
| buildAccessibilityTree(container, 0, 1, ['AXColumn', 'AXTableHeaderContainer']); |
| } |
| </script> |
| </body> |