Bug 199293 - Blur event is not fired when setting display:none on focused element
Summary: Blur event is not fired when setting display:none on focused element
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Local Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-06-27 15:37 PDT by Daniel Bates
Modified: 2019-07-01 13:07 PDT (History)
6 users (show)

See Also:


Attachments
Test (813 bytes, text/html)
2019-06-27 15:37 PDT, Daniel Bates
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2019-06-27 15:37:31 PDT
Created attachment 373060 [details]
Test

Steps to reproduce:

1. Open the attached test case.

No blur event is fired even though the text field is not longer visible on the page due to display:none set on its containing block. Moreover, typing in the state fires key events.

Filed spec. clarification question: <https://github.com/w3c/uievents/issues/236>
Comment 1 Radar WebKit Bug Importer 2019-06-27 15:38:25 PDT
<rdar://problem/52290008>
Comment 2 Ryosuke Niwa 2019-06-27 16:47:28 PDT
This is more or less expected. See my reply in the standards issue.
Comment 3 Antoine Quint 2019-06-28 00:24:44 PDT
"More or less expected". Should we keep this as a bug?
Comment 4 Ryosuke Niwa 2019-07-01 13:07:48 PDT
I don't know. I guess it depends on the outcome of https://github.com/w3c/uievents/issues/236.