[Webkit-unassigned] [Bug 27019] New: window.getSelection().focusNode is null with onfocus handler registered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 6 20:00:13 PDT 2009


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

           Summary: window.getSelection().focusNode is null with onfocus
                    handler registered
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jberlin at apple.com


Created an attachment (id=32354)
 --> (https://bugs.webkit.org/attachment.cgi?id=32354)
Test case for window.getSelection with onfocus, onclick handlers

When an onfocus handler is registered on a div containing another div with
text, window.getSelection().focusNode reports null in said onfocus handler. If
the handler is an onclick handler, it correctly reports the focusNode as a HTML
div element.

-- 
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