gecko-dev/layout/reftests/bugs/1157127-1-ref.html

16 строки
370 B
HTML

<!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>