[Webkit-unassigned] [Bug 51980] New: key events in frames do not bubble up to containing DOM elements, only containing frames

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 5 20:53:12 PST 2011


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

           Summary: key events in frames do not bubble up to containing
                    DOM elements, only containing frames
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eyarkon at zimbra.com


Created an attachment (id=78093)
 --> (https://bugs.webkit.org/attachment.cgi?id=78093&action=review)
test.zip

We have an IFRAME within a DIV. The iframe does not have scrollbar, but the div does. However, when focus is on the iframe, scrolling is only possible via the mouse and scroll bar. Not via the arrow and pagination keys.

I believe this might be related to bug 20303. 

Looking at the code submitted for bug 20303, it seems that if the current iframe cannot handle the key event, it is bubbled to its parent FRAME, and not its parent DOM element.

In our case, one of the parent elements (that is not a frame) is scrollable, so we expect the keys to scroll it when the focus is within the contained iframe.

I attach a simple example to demonstrate the issue. Two files: An HTML page that contain an IFRAME and the IFRAME HTML source as well. Simply open test.html and note that scrolling when focused in the IFRAME is not possible with the keys.

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