summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1157127-1-ref.html
blob: 9b03f139b7df4a24483ec2d81973603bd0f0adfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<body>
  <script>
    var ifr = document.createElement("iframe");
    ifr.src = "1157127-subframe.xml";
    document.body.appendChild(ifr);

    var doc = ifr.contentDocument;
    var div = doc.createElement("div");
    div.style.resize = "both";
    div.style.overflow = "scroll";
    doc.body.appendChild(div);
    div.offsetWidth;
  </script>
</body>