Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / html / tabindex-removal.html
bloba8278e47a51c70ecd57e55e08c7be6f483cdfdf3
1 <div id="a" tabindex="1">PASS</div>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
7 var a = document.getElementById('a');
8 a.removeAttribute('tabindex');
9 a.addEventListener('focus', function (e) {
10 a.innerText = 'FAIL';
11 }, false);
12 a.focus();
13 </script>