[Webkit-unassigned] [Bug 20387] New: Focus problem when moving from input to editable iframe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 14 16:27:51 PDT 2008


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

           Summary: Focus problem when moving from input to editable iframe
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
               URL: http://jparent.googlepages.com/iframeFocusIssues.html
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jparent at google.com
                CC: justin.garcia at apple.com


There appears to be some sort of focus bug when moving focus from an input into
an editable iframe.  Specifically, when you click in an input and then into an
editable iframe, built in editing commands like command + b, command + i, do
nothing and we do not receive the key events if we listen for them.  Clicking
anywhere else outside the iframe fixes this.

Extra notes:
This happens if focus is moved via click or via tabbing.
This is only seen in Safari on Mac, not Windows.
This happens for both contentEditable and designMode.
The URL provided show a demo page that exhibits this behavior.

We see this problem in Gmail when the user is moving from the Subject or To
line into the body of the email.  We had a hacky workaround where we were
listening to focus and re-calling focus on the iframe window and then the
editable node which did work around this issue, but raised a bunch of other
focus related problems and we needed to revert that.


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



More information about the webkit-unassigned mailing list