iframe.onload = function() {
var s = iframe.contentDocument.getElementById("host").attachShadow({mode: 'open'});
s.innerHTML = '';
var el = s.firstElementChild;
is(el.clientWidth, 100);
is(el.clientHeight, 100);
SimpleTest.finish();
}
document.body.appendChild(iframe);
}
</script>
</head>
<body onload="test()">
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1025933">Mozil
<p id="display"></p>
<pre id="test">
</pre>
</body>
</html>
