JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<title>test</title>
<script type="text/javascript" src="jquery-1.4.4.js"></script>
</head>
<body>
<div id="test" style="position:ablosute;background-color:blue;left:10.7432222px;top:10.532325px;width:100px;height:100px;">TEST</div>
<script type="text/javascript">
$(document).ready(function() {
var expected = {left:100,top:100};
$('#test').offset(expected);
var actual = $('#test').offset();
alert(expected.left == actual.left && expected.top == actual.top ? 'bug has been fixed' : 'bug still remains, expected [' + expected.left + '; ' + expected.top +
'], actual [' + actual.left + '; ' + actual.top + ']');
});
</script>
</body>
</html>