[Webkit-unassigned] [Bug 225075] [selectors] Using a modifier key on an element makes it stop matching :focus-visible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 26 14:41:36 PDT 2021


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

Manuel Rego Casasnovas <rego at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[selectors] Using a         |[selectors] Using a
                   |modifier key on an input    |modifier key on an element
                   |makes it stop matching      |makes it stop matching
                   |:focus-visible              |:focus-visible

--- Comment #1 from Manuel Rego Casasnovas <rego at igalia.com> ---
This happens with any element.

For example if a script caused an element to be focused, the element matches :focus-visible. Then if you type Ctrl it stops to match :focus-visbile.
This is a bug in EventHandler::internalKeyEvent(), we shouldn't do anything when the user types a key if the element is already matching :focus-visible.

-- 
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/20210426/15dfd694/attachment.htm>


More information about the webkit-unassigned mailing list