| Summary: | event.relatedTarget is null in blur event handler when button is clicked | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | qwant94 | ||||
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | akeerthi, cdumez, karlcow, qwant94, rniwa, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||
| Version: | Safari 16 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=109176 | ||||||
| Attachments: |
|
||||||
In Chrome 111 and Firefox 110 event.relatedTarget is not null (HTML Button Element in case of attachment) This is because button is not mouse focusable by default in Safari. |
Created attachment 465657 [details] html file for demonstrate behavior event.relatedTarget doesn't set in correctly when blur event occures. Example of that behavior included in attachment index.html file. tested on browserstack 12.1 - 16.3 and in real 16.4