Bug 47458

Summary: [Qt] Cannot scroll iframe with "overflow: hidden" using scroll wheel
Product: WebKit Reporter: Yael <yael>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: benjamin, tonikitoo
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
Test case none

Yael
Reported 2010-10-09 14:39:47 PDT
It is not possible to scroll an iframe with style="overflow: hidden", using the scroll wheel. I saw this bug only in QtWebKit port (tested on Ubuntu). Safari and Chromium (Windows and Ubuntu) do not have this issue.
Attachments
Test case (138 bytes, text/html)
2010-11-10 05:46 PST, Benjamin Poulain
no flags
Benjamin Poulain
Comment 1 2010-11-10 05:46:25 PST
Created attachment 73493 [details] Test case
Benjamin Poulain
Comment 2 2010-11-10 05:47:01 PST
Works for me with WebKit trunk. Any more info to reproduce the issue?
Antonio Gomes
Comment 3 2010-11-10 05:58:39 PST
Benjamin, how do firefox or webkit-based browsers work here? it might be better to compat with them
Benjamin Poulain
Comment 4 2010-11-10 06:43:17 PST
(In reply to comment #3) > Benjamin, how do firefox or webkit-based browsers work here? it might be better to compat with them Here, I can't see any difference between QtWebKit trunk and Safari Trunk, both ignore the overflow attribute. For me, Firefox handle iframe incorrectly. It considers the element as a block layout, even though the suggested stylesheet does not defined them as such: http://www.w3.org/TR/CSS21/sample.html In my opinion the overflow should not apply on iframe.
Yael
Comment 5 2010-11-10 08:18:21 PST
Sorry guys, I compared the behavior of QtWebKit to an old version of Chromium, and filed the bug due to a difference in behavior. After updating my Chromium build, they behave the same, and I don't think this is a bug. I'll close it shortly, and sorry for the inconvenience.
Yael
Comment 6 2010-11-10 08:19:01 PST
(In reply to comment #5) > I'll close it shortly, and sorry for the inconvenience. Too late, It's been closed already :-)
Note You need to log in before you can comment on or make changes to this bug.