Click here to download the Blitz Browser!

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

ChromeFirefoxSafariLadybirdServoBlitz
Total7/77/77/70/70/7NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
An element with autofocus, present before navigation, gets focusedPASSPASSPASSNOTRUNNOTRUN
Two elements with autofocus, present before navigation; the first gets focusedPASSPASSPASSNOTRUNNOTRUN
An element with autofocus, present before navigation but disabled before finished, does not get focusedPASSPASSPASSNOTRUNNOTRUN
An element with autofocus, present before navigation but with its autofocus attribute removed before finished, does not get focusedPASSPASSPASSNOTRUNNOTRUN
Two elements with autofocus, present before navigation, but the first gets disabled; the second gets focusedPASSPASSPASSNOTRUNNOTRUN
An element with autofocus, introduced between committed and finished, gets focusedPASSPASSPASSNOTRUNNOTRUN
An element with autofocus, introduced after finished, does not get focusedPASSPASSPASSNOTRUNNOTRUN