<script src="../../resources/dump-as-markup.js"></script>
<script>
var kDepth = 100;
for (var i=0; i < kDepth; ++i) {
document.write("<b><div>");
}
</script>
This test creates a nutty dom by abusing the residual style algorithm. It's
unclear exactly what DOM we should create here, but we shouldn't hang.
<script>
for (var i=0; i < kDepth; ++i) {
document.write("</b>");
}
</script>