зеркало из https://github.com/mozilla/pjs.git
35 строки
510 B
HTML
35 строки
510 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script type="text/javascript">
|
|
function boom()
|
|
{
|
|
var tbody = document.getElementById("tbody");
|
|
var table = tbody.parentNode;
|
|
table.removeChild(tbody);
|
|
document.documentElement.offsetHeight;
|
|
table.appendChild(tbody);
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();">
|
|
|
|
<table>
|
|
<col>
|
|
<col style="visibility: collapse;"><col>
|
|
<tbody id="tbody">
|
|
<tr>
|
|
<td>one</td>
|
|
<td>two</td>
|
|
</tr>
|
|
<tr>
|
|
<td>one</td>
|
|
<td>two</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</body>
|
|
</html>
|