blob: cb1591e9caab91ebe7ca25cecb4299e15d6c0bac [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>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("firstcell"));
</script>