summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/670467-1.html
blob: ef6da737ec56e74d594e0eba6277f7ae30feba3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<body style="color: red">
  <div id="x" style="display: inline; visibility: hidden">
    Line 1
    <div>Line 2</div>
    Line 3
    <div>Line 4</div>
    Line 5
  </div><script type="text/javascript">
    document.body.offsetWidth;
    document.getElementById("x").style.visibility = "visible";
    document.body.style.color = "green";
  </script>
</body>