| <html> |
| <head> |
| <title></title> |
| </head> |
| <body> |
| <p> |
| This is a regression test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=7395">http://bugzilla.opendarwin.org/show_bug.cgi?id=7395</a> |
| Table not properly re-flowed when floated div removed from layout</i>. |
| </p> |
| <p> |
| The two boxes below should be identical. |
| </p> |
| <hr> |
| <div style="width: 200px; background: silver;"> |
| <table><tr><td> |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc neque. |
| </td></tr></table> |
| </div> |
| <br> |
| <div style="width: 200px; background: silver;"> |
| <div id="float" style="width: 100px; float: right; height: 10px;"></div> |
| <table><tr><td> |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc neque. |
| </td></tr></table> |
| </div> |
| <script type="text/javascript"> |
| document.body.offsetTop; |
| document.getElementById('float').style.display = "none"; |
| </script> |
| </body> |