summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-anonymous-boxes/208305-4.html
blob: ee8dcbcad76b59382a2b4b1a0dd2e82659671a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <style id="s">
      span { display: table-cell ! important }
    </style>
    <script>
      function doTest() {
        var s = document.getElementById("s");
        s.disabled = true;
        document.body.offsetWidth;
        s.disabled = false;
        document.documentElement.className = "";
      }
    </script>
  </head>
  <body onload="doTest()">
    <span style="display: block">a b</span>
    <span style="display: block">c d</span>
  </body>
</html>