WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
309586
Clear focus from elements outside the fullscreen element when entering fullscreen
https://bugs.webkit.org/show_bug.cgi?id=309586
Summary
Clear focus from elements outside the fullscreen element when entering fullsc...
pascoe@apple.com
Reported
2026-03-10 11:43:52 PDT
When a user clicks a fullscreen button on some sites, the button enters `:focus`/`:focus-visible` and `:hover` states. After the fullscreen transition these states persist because no blur is triggered on the button, and no `mousemove` is synthesized to update hit-testing, leaving the button stuck in a highlighted state.
Attachments
testcase
(316 bytes, text/html)
2026-10-12 01:56 PDT
,
Frédéric Wang Nélar
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
pascoe@apple.com
Comment 1
2026-03-10 11:44:01 PDT
rdar://157694866
pascoe@apple.com
Comment 2
2026-03-10 11:48:52 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/60287
EWS
Comment 3
2026-04-24 15:56:29 PDT
Committed
311986@main
(4771a54c1936): <
https://commits.webkit.org/311986@main
> Reviewed commits have been landed. Closing PR #60287 and removing active labels.
WebKit Commit Bot
Comment 4
2026-06-02 11:19:06 PDT
Re-opened since this is blocked by
bug 316115
Frédéric Wang Nélar
Comment 5
2026-10-12 01:56:39 PDT
Created
attachment 481761
[details]
testcase I tried with the attached testcase but on Linux GTK I see the same behavior as Chrome and Firefox: - :focus and :focus-visible still match after fullscreen - :hover no longer matches (in the test case the button is moved from the middle to the top of the page)
Frédéric Wang Nélar
Comment 6
2026-10-12 02:03:09 PDT
On macos with tab navigation enabled I see the same behavior. It seems
bug 266476
(which I can reproduce) is related though.
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