<!DOCTYPE html>
<object>
<ul> </ul>
<table>
<option> <option>
</table>
</object>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
var count = 0;
var id = window.setInterval(function(){
var oe = document.getElementsByTagName("*");
for (var i = 0; i < oe.length; i++) {
var o = oe.item(i);
if (!o.firstElementChild && o != document.documentElement) {
p = o.parentNode;
p.replaceChild(document.createTextNode("PASS"), o)
}
}
if (++count === 2) {
window.clearInterval(id);
if (window.testRunner)
testRunner.notifyDone();
}
});
</script>
<p id="title">crbug.com/549544: Don't clean up anonymous wrappers when the element's branch or sub-tree is being destroyed.</p>