[Webkit-unassigned] [Bug 243749] New: blur and focusout are not fired on document.activeElements when they are removed from the dom

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 9 13:45:01 PDT 2022


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

            Bug ID: 243749
           Summary: blur and focusout are not fired on
                    document.activeElements when they are removed from the
                    dom
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rsnow at adobe.com

blur and focusout are not fired on document.activeElements when they are removed from the dom

https://jsfiddle.net/snowystinger/87os2az9/15/

When you run the fiddle in Safari, tab to the button and wait for the setTimeout to remove the button from the dom. I would expect focusout and blur listeners to be triggered. I don't expect them to bubble up the tree as they have been removed, but a direct listener on it should be called.

This is also a bug in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=559561

It works as expected in Chrome.

-- 
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/20220809/a0329e29/attachment-0001.htm>


More information about the webkit-unassigned mailing list