blob: 8bfa8c0be2624469c107a0adff5e2e82d3bd2b55 [file] [log] [blame]
<!DOCTYPE html>
<p> crbug.com/511401: Ensure correct treatment of whitespace when div added to a row. </p>
<table style="width:700px;" id="table">
<tr>
<th>Text</th>
<th>Text</th>
<th>Text</th>
</tr>
<tr id="tr">
<td id="firstcell">Text</td>
<td id="secondcell">Text</td>
</tr>
</table>
<div style="margin-top: 1px; margin-left: 1px;" id="content">Div</div>
<script>
document.body.offsetTop;
tr.insertBefore(document.getElementById("content"), document.getElementById("secondcell"));
</script>