Summary: | [test case] css "overflow:hidden" doesn't cut page | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Hans Fredrik Nordhaug <hans> |
Component: | khtml renderer | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hasso |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
test case
proposed fix |
Description
Hans Fredrik Nordhaug
2003-04-10 12:21:47 UTC
check out bug 11336. they might be duplicates. I voted for both though. that test case works for me in CVS HEAD I made the testcase on bug 11336. I am using kde 3.2.0_rc1 now, and I am glad it is "almost" working. The only issue I had was that the buttons on the scrollbar disappeared when I scrolled it using the mouse. It is a repaint issue, if I switch to another tab in konqueror, or to another application, and then switch back to the test page, the buttons show up again. Look at http://www.digimer.com.br. It does not look right. Is it sloppy javascript and css, or there are bugs ? Looks like this regressed in 3.2.1. Testcase works for me in 3.2.0, but I get a big horizontal scrollbar in 3.2.1. regressed Created attachment 6038 [details]
test case
*** Bug 49199 has been marked as a duplicate of this bug. *** Created attachment 7090 [details]
proposed fix
This fixes the superfluous scrollbar on the canvas by correctly honouring the
overflow-clip of child elements.
CVS commit by savernik: Fixed spurious scrollbars on the canvas when the overflow of clipped children would exceed the viewports boundaries. This patch also incorporates fixes from Germain Garand: - Fixed unreachable relatively positioned content on viewport. - Fixed unreachable positioned content in clipped blocks. CC_MAIL: 57080-done@bugs.kde.org, germain@ebooksfrance.org M +47 -27 ChangeLog 1.276 M +29 -10 rendering/render_block.cpp 1.39 M +4 -3 rendering/render_box.cpp 1.237 M +10 -47 rendering/render_canvas.cpp 1.151 M +1 -1 rendering/render_flow.cpp 1.356 M +14 -3 rendering/render_object.h 1.193 CVS commit by savernik: Backport: Fixed spurious scrollbars on the canvas when the overflow of clipped children would exceed the viewports boundaries. This patch also incorporates fixes from Germain Garand: - Fixed unreachable relatively positioned content on viewport. - Fixed unreachable positioned content in clipped blocks. This commit fixes 74(!) regressions CC_MAIL: 57080@bugs.kde.org M +29 -10 render_block.cpp 1.38.2.1 M +4 -3 render_box.cpp 1.236.2.1 M +10 -47 render_canvas.cpp 1.150.2.1 M +1 -1 render_flow.cpp 1.355.2.1 M +14 -3 render_object.h 1.192.2.1 |