blob: b515df3b9a74737360a4d33fbf93f7b1d67eef95 [file] [edit]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/accessibility-helper.js"></script>
<script src="../resources/js-test.js"></script>
</head>
<body>
<table id="table">
<thead>
<tr id="r0">
<th id="c0r0">Author</th>
<th id="c1r0">Title</th>
</tr>
</thead>
<tr id="r1">
<td id="c0r1">Stephen Hawking</td>
<td id="c1r1" rowspan="5">A Brief History of Time</td>
</tr>
<tr id="r2">
<td id="c0r2">Carl Sagan</td>
</tr>
<tbody>
<tr id="r3">
<td id="c0r3">Stan Owocki</td>
<td id="c1r3">Fundamentals of Astrophysics</td>
</tr>
</tbody>
</table>
<script>
var output = "This test ensures that a rowspan cell does not extend outside its table section.\n\n";
if (window.accessibilityController) {
var table = accessibilityController.accessibleElementById("table");
output += dumpAXTable(table);
output += dumpAXSearchTraversal(table);
debug(output);
finishJSTest();
}
</script>
</body>
</html>