зеркало из https://github.com/mozilla/gecko-dev.git
24 строки
466 B
HTML
24 строки
466 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<body>
|
||
|
|
||
|
<table id="theTable" border="1">
|
||
|
<thead id="thead">
|
||
|
<tr><th>Header</th></tr>
|
||
|
</thead>
|
||
|
<tfoot id="tfoot"><tr><th>Footer</th></tr></tfoot>
|
||
|
<tbody><tr><td id="body">BODY</td></tr></tbody>
|
||
|
</table>
|
||
|
|
||
|
<script>
|
||
|
var style = document.getElementById('tfoot').style;
|
||
|
style.display = "none";
|
||
|
document.body.offsetWidth;
|
||
|
style.display = "table-footer-group";
|
||
|
document.body.offsetWidth;
|
||
|
style.display = "none";
|
||
|
</script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|