[Webkit-unassigned] [Bug 118043] Mouse press should focus on any types of form controls

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 17 02:52:07 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=118043

Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |gsnedders at apple.com
         Resolution|---                         |DUPLICATE

--- Comment #11 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
(In reply to Patrick H. Lauke from comment #8)
> Coming in late as this caught me by complete surprise today ... that
> clicking with a mouse on a <button> does not set focus/fire the focus event
> on the <button>. This feels...extremely broken and unexpected.
> 
> I understand the rationale may be to "avoid visual clutter" (per
> https://bugs.webkit.org/show_bug.cgi?id=26856) but this sounds like an odd
> reason to break a fairly basic assumption on events/behavior.

FWIW, I wouldn't take the opinion of a former Chrome engineer over a decade ago to have any bearing on WebKit today.

As discussed in bug 22261, Safari follows the macOS setting that controls whether non-text inputs are focusable, so that behaviour is similar between native apps and the web.

But yes, let's close this as a dupe.

*** This bug has been marked as a duplicate of bug 22261 ***

-- 
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/20210517/6dea62f3/attachment-0001.htm>


More information about the webkit-unassigned mailing list