summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/243266-1.html
blob: e62bbdf0ab528c2554c3a53dfe87bca009c83ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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>