WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
313121
Align fullscreen keyboard lock implementation with the spec
https://bugs.webkit.org/show_bug.cgi?id=313121
Summary
Align fullscreen keyboard lock implementation with the spec
Simon Pieters (:zcorpan)
Reported
2026-04-23 03:09:20 PDT
See
https://github.com/whatwg/fullscreen/pull/232
I think at least the following are cases where WebKit is different from the current spec PR: - WebKit stores the keyboard lock flag on Document instead of Element. This means it's not possible to track state correctly when entering and exiting fullscreen for multiple elements within the same document. Demo:
https://software.hixie.ch/utilities/js/live-dom-viewer/saved/14667
- Similarly, calling requestFullscreen for the same element with different keyboard lock should update the keyboard lock flag. - The "system" enum was removed (it is currently equivalent to "none" in WebKit as far as I can tell).
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Pieters (:zcorpan)
Comment 1
2026-04-23 03:27:40 PDT
Another difference between WebKit and Gecko is that WebKit requires calling `preventDefault()` for the Esc key to make it not exit fullscreen when pressing (instead of holding).
Radar WebKit Bug Importer
Comment 2
2026-04-30 03:10:13 PDT
<
rdar://problem/175929279
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug