summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-anonymous-boxes/203923-1.html
blob: a7a1e843d12fde1b054b43e4b614915160e16091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html class="reftest-wait">
<head>
  <script type="text/javascript">
    function doTest() {
      var c = document.createElement("span");
      c.style.display = "table-cell";
      c.appendChild(document.createTextNode("bc"));
      var t = document.getElementById("t");
      t.parentNode.insertBefore(c, t);
      document.documentElement.className = "";
    }
  </script>
</head>
<body onload="doTest()">
  <span style="display: block">
    <span style="display: table-cell">a</span>
    <span style="display: table-cell; white-space: pre"> </span>
    <span style="display: table-cell; white-space: pre" id="t"> </span>
    <span style="display: table-cell">d</span>
</body>
</html>