blob: a8278e47a51c70ecd57e55e08c7be6f483cdfdf3 [file] [log] [blame]
<div id="a" tabindex="1">PASS</div>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
}
var a = document.getElementById('a');
a.removeAttribute('tabindex');
a.addEventListener('focus', function (e) {
a.innerText = 'FAIL';
}, false);
a.focus();
</script>