Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / whitespace-in-table-cells-when-div-appended-2.html
blob8bfa8c0be2624469c107a0adff5e2e82d3bd2b55
1 <!DOCTYPE html>
2 <p> crbug.com/511401: Ensure correct treatment of whitespace when div added to a row. </p>
3 <table style="width:700px;" id="table">
4 <tr>
5 <th>Text</th>
6 <th>Text</th>
7 <th>Text</th>
8 </tr>
9 <tr id="tr">
10 <td id="firstcell">Text</td>
11 <td id="secondcell">Text</td>
12 </tr>
13 </table>
14 <div style="margin-top: 1px; margin-left: 1px;" id="content">Div</div>
15 <script>
16 document.body.offsetTop;
17 tr.insertBefore(document.getElementById("content"), document.getElementById("secondcell"));
18 </script>