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

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.