blob: 28d9d96ce4ad2a0c296bd707d123094aa067f2df [file] [log] [blame]
<!-- This test happens in quirks mode -->
<style>
* { float: left; padding-left: 33554430;}
</style>
<body>
<div> crbug.com/532712 : A float on a clean line that is dirtied again during layout should not cause an assert.</div>
</body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var docElement = document.documentElement;
function test() {
firstText = document.createTextNode("T");
docElement.appendChild(firstText);
firstdiv = document.createElement("div");
firstdiv.setAttribute("id", "first");
firstdiv.setAttribute("data-expected-height", "0");
docElement.appendChild(firstdiv);
docElement.appendChild(document.createTextNode("E"));
docElement.appendChild(document.createElement("div"));
docElement.appendChild(document.createTextNode("XT"));
setTimeout("boom()");
}
function boom() {
docElement.removeChild(firstText);
}
window.onload = test;
</script>