WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
51980
[Qt] key events in frames do not bubble up to containing DOM elements, only containing frames
https://bugs.webkit.org/show_bug.cgi?id=51980
Summary
[Qt] key events in frames do not bubble up to containing DOM elements, only c...
Eran Yarkon
Reported
2011-01-05 20:53:12 PST
Created
attachment 78093
[details]
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.
Attachments
test.zip
(944 bytes, application/zip)
2011-01-05 20:53 PST
,
Eran Yarkon
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Dave Comfort
Comment 1
2011-01-06 08:15:30 PST
This is a fairly serious issue for Zimbra, as it prevents users from using arrow keys to scroll an email message.
http://bugzilla.zimbra.com/show_bug.cgi?id=54286
Benjamin Poulain
Comment 2
2011-01-30 06:37:32 PST
Please follow
http://trac.webkit.org/wiki/QtWebKitBugs
when reporing bugs here.
Benjamin Poulain
Comment 3
2011-01-30 06:47:21 PST
I can scroll with the keyboard with WebKit trunk (on Mac).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug