gecko/layout/html/tests/table/interactive/bug110523.html

38 lines
696 B
HTML

<html>
<head>
<title></title>
<script type="text/javascript">
function toggle(what) {
var adv = document.getElementById("it_guru");
var ns = 'none';
if (what.checked) {
ns= "table-row";
}
adv.style.display = ns;
}
</script></head><body >
<form action="http://localhost/">
Click me twice <input type="checkbox" onclick="toggle(this)">
<table>
<tbody>
<tr>
<td>Without the &lt;tbody&gt; tags Mozilla doesn't crash
</td>
</tr>
</tbody>
<tr id="it_guru">
<td>I disappear
</td>
</tr>
<tr>
<td>Without this row Mozilla doesn't crash
</td>
</tr>
</table>
</form>
</body>
</html>