blob: 7c51c5e1775dcef8390f9ff8827e57a9d56a2ac2 [file] [log] [blame]
<body><div><div style="float:left; width:200px;height:200px;"></div>
This text should be underneath a 200x200 lime float. We are making sure that the code that wraps
inline children in anonymous blocks does the right thing when blocks are inserted in between a float
and an inline.
var floatDiv = document.createElement("div");
floatDiv.setAttribute("style", "width:200px; height:200px; background-color:lime");
document.body.firstChild.insertBefore(floatDiv, document.body.firstChild.childNodes[1]);