<!DOCTYPE html>
<div id="div" style="width:300px; height:150px; border:1px solid black;" tabindex=1></div>
<script>
function finishTest() {
var div = document.getElementById("div");
div.focus();
setTimeout(function() { testRunner.notifyDone(); }, 0);
}
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.setBackingScaleFactor(2, finishTest);
}
</script>