blob: 66ea1fc91672394847389bd62bdd3dae9d4a2b60 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This test will timeout if we regress style sharing with long cousin list.</title>
<style>
td:nth-child(2) {
color: transparent;
}
</style>
</head>
<body>
<div id=container></div>
</body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var table = document.createElement("table");
for (var i = 0; i < 30000; ++i) {
var row = document.createElement("tr");
row.appendChild(document.createElement("td"));
row.appendChild(document.createElement("td"));
table.appendChild(row);
}
document.body.appendChild(table);
document.body.offsetHeight;
document.body.innerText = "PASSED.";
</script>
</html>