WPT
wpt / html / interaction / focus / document-level-focus-apis / document-level-apis.html
Spec: HTML ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@b89af32bc, 2026-09-05) | Ladybird 1.0-f437c (wpt@b89af32bc, 2026-09-06) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | 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 | 4/4 | 4/4 | 4/4 | 4/4 | 3/4 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| The body element must be the active element if no element is focused | PASS | PASS | PASS | PASS | PASS | — |
| The element must be the active element if it is focused | PASS | PASS | PASS | PASS | PASS | — |
| The hasFocus() method must return false if the Document has no browsing context | PASS | PASS | PASS | PASS | PASS | — |
| When a child browsing context is focused, its browsing context container is also focused | PASS | PASS | PASS | PASS | FAIL | — |