Source code

Revision control

Copy as Markdown

Other Tools

[autofocus.html]
[An element with autofocus, present before navigation, gets focused]
expected: FAIL
[Two elements with autofocus, present before navigation; the first gets focused]
expected: FAIL
[An element with autofocus, present before navigation but disabled before finished, does not get focused]
expected: FAIL
[An element with autofocus, present before navigation but with its autofocus attribute removed before finished, does not get focused]
expected: FAIL
[Two elements with autofocus, present before navigation, but the first gets disabled; the second gets focused]
expected: FAIL
[An element with autofocus, introduced between committed and finished, gets focused]
expected: FAIL
[An element with autofocus, introduced after finished, does not get focused]
expected: FAIL