Bug 199293

Summary: Blur event is not fired when setting display:none on focused element
Product: WebKit Reporter: Daniel Bates <dbates>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: graouts, megan_gardner, rniwa, simon.fraser, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test none

Daniel Bates
Reported 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>
Attachments
Test (813 bytes, text/html)
2019-06-27 15:37 PDT, Daniel Bates
no flags
Radar WebKit Bug Importer
Comment 1 2019-06-27 15:38:25 PDT
Ryosuke Niwa
Comment 2 2019-06-27 16:47:28 PDT
This is more or less expected. See my reply in the standards issue.
Antoine Quint
Comment 3 2019-06-28 00:24:44 PDT
"More or less expected". Should we keep this as a bug?
Ryosuke Niwa
Comment 4 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.
Note You need to log in before you can comment on or make changes to this bug.