<html>
<head>
    <title>Test for http://bugs.webkit.org/show_bug.cgi?id=11047</title>
</head>
<body>
<select id="t" style="-webkit-appearance: none;">
    <option>This</option>
    <option></option>
</select>
<script>
    document.body.offsetTop;
    document.getElementById("t").selectedIndex = 1;
</script>
</body>
</html>
