| <html> | |
| <style> | |
| #floater { float: left } | |
| </style> | |
| <body> | |
| <div> | |
| Test anonymous boxes removal on style change. This should not crash or hang. Render tree dump should not gain additional anonymous boxes. | |
| <div id=floater></div><div></div></div> | |
| <script> | |
| var floater = document.getElementById("floater"); | |
| floater.offsetWidth; | |
| floater.style.float = "none"; | |
| </script> | |
| </body> | |
| </html> |