[Webkit-unassigned] [Bug 221036] New: [Win] focus event is not dispatched for form controls when they are focused via mouse click
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 27 05:44:27 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=221036
Bug ID: 221036
Summary: [Win] focus event is not dispatched for form controls
when they are focused via mouse click
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rego at igalia.com
CC: bfulgham at webkit.org, don.olmstead at sony.com,
simon.fraser at apple.com, zalan at apple.com
If you click a <button>, the "focus" event is not dispatched on Windows.
Actually this doesn't happen on Mac either, but that's because Mac follows the platform conventions (see https://bugs.webkit.org/show_bug.cgi?id=220243 for more details).
I have the feeling that Windows could dispatch the event like GTK+ and recently WPE (see r271671) are doing.
A patch to enable this on Windows would be very simple, similar to the one for WPE port. Some :focus-visible tests would stop to timeout once that's changed.
Anyway this is just for your information, in case you want to change that or not.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210127/b9c497da/attachment.htm>
More information about the webkit-unassigned
mailing list