summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1157127-1.html
blob: b1104c74ee25f93c15fc22d2f8b2e0b5aa11ed7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<body>
  <script>
    document.domain = document.domain;
    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>