OLD | NEW |
(Empty) | |
| 1 <!-- This test happens in quirks mode --> |
| 2 <style> |
| 3 * { float: left; padding-left: 33554430;} |
| 4 </style> |
| 5 <body> |
| 6 <div> crbug.com/532712 : A float on a clean line that is dirtied again during la
yout should not cause an assert.</div> |
| 7 </body> |
| 8 <script> |
| 9 if (window.testRunner) |
| 10 testRunner.dumpAsText(); |
| 11 var docElement = document.documentElement; |
| 12 function test() { |
| 13 firstText = document.createTextNode("T"); |
| 14 docElement.appendChild(firstText); |
| 15 firstdiv = document.createElement("div"); |
| 16 firstdiv.setAttribute("id", "first"); |
| 17 firstdiv.setAttribute("data-expected-height", "0"); |
| 18 docElement.appendChild(firstdiv); |
| 19 docElement.appendChild(document.createTextNode("E")); |
| 20 docElement.appendChild(document.createElement("div")); |
| 21 docElement.appendChild(document.createTextNode("XT")); |
| 22 setTimeout("boom()"); |
| 23 } |
| 24 function boom() { |
| 25 docElement.removeChild(firstText); |
| 26 } |
| 27 window.onload = test; |
| 28 </script> |
OLD | NEW |