summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/645491-1.html
blob: d301d2d0c59c9d91bc1340d0e5c59d2c51188a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!-- This test needs to be in quirks mode -->
<html>
  <head>
    <style>
      body { color: red; }
      body#foo { color: green; }
    </style>
  </head>
  <body onload="document.body.offsetWidth; document.body.id = 'FOO'">
    This should be green
  </body>
</html>