зеркало из https://github.com/mozilla/gecko-dev.git
16 строки
370 B
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>
|