summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/144004-2.html
blob: 6ba48bb8b4d0f2b8b124646ae55af6655cad665a (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="display: inline; margin: 0; padding: 0; border: 0">
    <script>
      document.body.offsetWidth;
      test();
    </script>
  </body>
</html>