summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-anonymous-boxes/203923-2.html
blob: 783ca6e789e3e930c64cce9c622f955878d309d9 (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 t = document.getElementById("t");
      t.style.display = "none";
      document.body.offsetWidth;
      t.style.display = "table-cell";
      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;" id="t">bc</span>
    <span style="display: table-cell; white-space: pre"> </span>
    <span style="display: table-cell">d</span>
</body>
</html>