| <html> | |
| <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. | |
| </div> | |
| <script> | |
| 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]); | |
| </script> | |
| </body> |