Bug 47458 - [Qt] Cannot scroll iframe with "overflow: hidden" using scroll wheel
Summary: [Qt] Cannot scroll iframe with "overflow: hidden" using scroll wheel
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2010-10-09 14:39 PDT by Yael
Modified: 2010-11-10 08:19 PST (History)
2 users (show)

See Also:


Attachments
Test case (138 bytes, text/html)
2010-11-10 05:46 PST, Benjamin Poulain
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yael 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.
Comment 1 Benjamin Poulain 2010-11-10 05:46:25 PST
Created attachment 73493 [details]
Test case
Comment 2 Benjamin Poulain 2010-11-10 05:47:01 PST
Works for me with WebKit trunk. Any more info to reproduce the issue?
Comment 3 Antonio Gomes 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
Comment 4 Benjamin Poulain 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.
Comment 5 Yael 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.
Comment 6 Yael 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  :-)