blob: 7e710edf91ff638da6ca034d836189ecb940a0f1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that we stop generating renderers at certain nesting depth.</title>
<style>
td {
border: 1px solid green;
}
</style>
</head>
<body></body>
<script>
var container = document.body;
for (var i = 0; i < 3000; ++i) {
var element;
if (!(i % 10)) {
var table = document.createElement("table");
var tr = document.createElement("tr");
var td = document.createElement("td");
tr.appendChild(td);
table.appendChild(tr);
element = td;
} else
element = document.createElement("div");
container.appendChild(element);
container = element;
}
</script>
</html>