Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<head>
</head>
<body>
<table border="1"><tbody><tr id="tr">XXX<td>TD</td></tr></tbody></table>
<script>
document.body.offsetWidth;
document.getElementById("tr").firstChild.data = '';
</script>
</body>
</html>