Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / table-relayout.html
blobf459fde78d056c4d885c6c104c04969a6f9c963f
1 <html>
2 <head>
3 <title></title>
4 </head>
5 <body>
6 <p>
7 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>
8 Table not properly re-flowed when floated div removed from layout</i>.
9 </p>
10 <p>
11 The two boxes below should be identical.
12 </p>
13 <hr>
14 <div style="width: 200px; background: silver;">
15 <table><tr><td>
16 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc neque.
17 </td></tr></table>
18 </div>
19 <br>
20 <div style="width: 200px; background: silver;">
21 <div id="float" style="width: 100px; float: right; height: 10px;"></div>
22 <table><tr><td>
23 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc neque.
24 </td></tr></table>
25 </div>
26 <script type="text/javascript">
27 document.body.offsetTop;
28 document.getElementById('float').style.display = "none";
29 </script>
30 </body>