Jquery 3.4.1 bug
Position bug with elements inside a table
by sectioni
HTML
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<div style="height:100px; border:solid 1px red"></div>
<div>
<table width="100%">
<tbody>
<tr>
<td>
<div id="test" style="height:50px; border:solid 1px blue;"></div>
</td>
</tr>
</tbody>
</table>
</div>
JavaScript
console.log($('#test').position())