Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

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