blob: 1444949606de60e0a0681a56821f9c41780addbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<html>
<head>
<title></title>
<script type="text/javascript">
function toggle(b) {
var adv = document.getElementById("it_guru");
var ns = 'none';
if (b) {
ns= "table-row";
}
adv.style.display = ns;
}
function boom()
{
toggle(true);
document.documentElement.offsetHeight;
toggle(false);
document.documentElement.offsetHeight;
toggle(true);
document.documentElement.offsetHeight;
toggle(false);
document.documentElement.offsetHeight;
}
</script></head><body onload="boom();">
<form action="http://localhost/">
<table>
<tbody>
<tr>
<td>Without the <tbody> 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>
|