summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/144004-2-ref.html
blob: cde03344a5293f0042149e11e6210a4008f5561d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
  <head>
    <script>
      function test() {
        var div = document.createElement("div");
        div.appendChild(document.createTextNode("text"));
        document.body.appendChild(div);
      }
    </script>
  </head>
  <body style="margin: 0; padding: 0; border: 0">
    <script>
      document.body.offsetWidth;
      test();
    </script>
  </body>
</html>