Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<head>
</head>
<body>
<table border="1" id="table">XXX<tbody><tr><td>TD</td></tr></tbody></table>
<script>
document.body.offsetWidth;
document.getElementById("table").firstChild.data = '';
</script>
</body>
</html>