summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/670467-2.html
blob: 7d40b5f424355950f6e438305bae25cc44137030 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<style>
  body::first-line { color: purple; }
</style>
<body style="width: 0; color: red"><span id="x" style="visibility: hidden">This is some text</span>
  <script type="text/javascript">
    document.body.offsetWidth;
    document.getElementById("x").style.visibility = "visible";
    document.body.style.color = "green";
  </script>
</body>