<!DOCTYPE>
<body onload="startTest()">
<style>
#testField {
width: 100px;
height: 30px;
-webkit-appearance: none;
}
</style>
<input type="search" id="testField" value="Shaking!">
<script>
function startTest() {
document.getElementById('testField').offsetTop;
document.getElementById('testField').style.width = '200px';
if (window.testRunner)
testRunner.notifyDone();
}
if (window.testRunner)
testRunner.waitUntilDone();
</script>
</body>