[Webkit-unassigned] [Bug 123968] New: Dispatch [DOM]FocusIn/Out events when the page changes focus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 7 00:33:27 PST 2013


           Summary: Dispatch [DOM]FocusIn/Out events when the page changes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: ap at webkit.org, sam at webkit.org

Maybe, potentially consider merging https://chromium.googlesource.com/chromium/blink/+/665a494066b51c45bcbe84485803a9a3e3c8011f

But Document::setFocusedElement has the following comment:

        oldFocusedElement->dispatchFocusOutEvent(eventNames().focusoutEvent, newFocusedElement); // DOM level 3 name for the bubbling blur event.
        // FIXME: We should remove firing DOMFocusOutEvent event when we are sure no content depends
        // on it, probably when <rdar://problem/8503958> is resolved.
        oldFocusedElement->dispatchFocusOutEvent(eventNames().DOMFocusOutEvent, newFocusedElement); // DOM level 2 name for compatibility.

so I'm not sure if we should be firing it in more places.

At least this patch makes our behavior consistent though.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list