| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../resources/js-test-pre.js"></script> |
| <tr role="row"><th>Item 1</th></tr> |
| description("This tests if a native tr element uses the 'row' role, but forgets to add role='grid' to the native table element, the table still exposes the right numbers of rows/cells."); |
| if (window.accessibilityController) { |
| var table = accessibilityController.accessibleElementById("table"); |
| shouldBe("table.rowCount", "1"); |
| shouldBe("table.columnCount", "1"); |
| <script src="../resources/js-test-post.js"></script> |