blob: e8cebf16914e188cd9db075946877d9d8288dec9 [file] [log] [blame]
<div id="d1"></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.addEventListener('beforeload', function(event) {
d1.appendChild(document.createElement('button'));
d1.offsetLeft;
d1.remove();
}, true);
</script>
<embed src="data:image/png,"></embed>
<p>PASS if no assertion failure.</p>