repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
html
/
tabindex-removal.html
blob
a8278e47a51c70ecd57e55e08c7be6f483cdfdf3
1
<div
id
=
"a"
tabindex
=
"1"
>
PASS
</div>
2
3
<script>
4
if
(
window
.
testRunner
) {
5
testRunner
.
dumpAsText
();
6
}
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>