[Webkit-unassigned] [Bug 83566] New: Editable iframe doesn't get proper focus when clicking documentElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 10 05:28:29 PDT 2012


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

           Summary: Editable iframe doesn't get proper focus when clicking
                    documentElement
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://www.tinymce.com/webkit/focus_iframe.html
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: spocke at moxiecode.com


The focusin event doesn't fire if you blur and refocus an iframe with an editable body by clicking on the documentElement. This breaks input method on Safari Mac and causes script issues since the body has editing focus but the events never fired so you can't detect that the body is properly focused.

Steps to reproduce:
1. Open the attached URL
2. Click inside the green area (body)
3. Click outside the iframe in the white area (parent document)
4. Click inside the red area (documentElement)
5. Observe that the focus event only fired for the first click inside the iframe also notice that the focus even will fire once you enter a character.

Expected results:
The focusin should fire and the body should have proper focus.

Actual results:
The focusin event never fires when you refocus the document by clicking the documentElement.

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