gecko-dev/layout/reftests/bugs/243266-1.html
2007-03-01 20:42:02 +00:00

17 lines
349 B
HTML

<!DOCTYPE html>
<html>
<body>
<table style="width: 6em; background: yellow">
<tr>
<td id="big">mmmmmmmmmmmmmmmm</td>
</tr>
</table>
<script>
document.body.offsetWidth;
var big = document.getElementById("big");
var r = big.firstChild.splitText(8);
big.insertBefore(document.createElement("WBR"), r);
</script>
</body>
</html>