WPT
wpt / navigation-api / focus-reset / autofocus.html?same-checkpoint
Spec: https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-api ↗
Runs: Chrome 155.0.8039.0 (wpt@426cae6e2, 2026-09-03) | Firefox 157.0a1 (wpt@426cae6e2, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@e6996908b, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 7/7 | 7/7 | 7/7 | 0/7 | 0/7 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| An element with autofocus, present before navigation, gets focused | PASS | PASS | PASS | NOTRUN | NOTRUN | — |
| Two elements with autofocus, present before navigation; the first gets focused | PASS | PASS | PASS | NOTRUN | NOTRUN | — |
| An element with autofocus, present before navigation but disabled before finished, does not get focused | PASS | PASS | PASS | NOTRUN | NOTRUN | — |
| An element with autofocus, present before navigation but with its autofocus attribute removed before finished, does not get focused | PASS | PASS | PASS | NOTRUN | NOTRUN | — |
| Two elements with autofocus, present before navigation, but the first gets disabled; the second gets focused | PASS | PASS | PASS | NOTRUN | NOTRUN | — |
| An element with autofocus, introduced between committed and finished, gets focused | PASS | PASS | PASS | NOTRUN | NOTRUN | — |
| An element with autofocus, introduced after finished, does not get focused | PASS | PASS | PASS | NOTRUN | NOTRUN | — |