Summary: | [testcase] background-attachment: scroll incorrect | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Gérard Talbot (no longer involved) <browserbugs2> |
Component: | khtml renderer | Assignee: | Konqueror Developers <konq-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | germain |
Priority: | NOR | ||
Version: | 4.2.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
URL: | http://www.hixie.ch/tests/adhoc/css/background/block/001.html | ||
Latest Commit: | Version Fixed In: |
Description
Gérard Talbot (no longer involved)
2009-02-26 18:32:50 UTC
this is due to emulation of MSIE 6/7 behaviour for background-attachment. MSIE8 has stopped doing this, I'm told, so we may go forward. will fix by implementing CSS 3's background-attachment: local. SVN commit 939169 by ggarand: support CSS3's background-attachment: local cf. http://www.w3.org/TR/css3-background/#background-attachment Scrolling the background with the element content is actually the behaviour we were using for background-attachment: scroll, in order to emulate MSIE6/7, but that was a violation of CSS 2.1 (#185631), so fix that too. (also fix bogus borderTop addition in isPointInScrollbar, noticed while playing with thick bordered background-attachment testcases) BUG: 185631 M +8 -2 css/css_renderstyledeclarationimpl.cpp M +1 -1 css/cssparser.cpp M +6 -3 css/cssstyleselector.cpp M +344 -341 css/cssvalues.c M +233 -232 css/cssvalues.h M +5 -2 css/cssvalues.in M +1 -1 rendering/render_block.cpp M +2 -2 rendering/render_box.cpp M +1 -1 rendering/render_canvas.cpp M +10 -6 rendering/render_style.h WebSVN link: http://websvn.kde.org/?view=rev&revision=939169 SVN commit 939470 by ggarand: automatically merged revision 939169: support CSS3's background-attachment: local cf. http://www.w3.org/TR/css3-background/#background-attachment Scrolling the background with the element content is actually the behaviour we were using for background-attachment: scroll, in order to emulate MSIE6/7, but that was a violation of CSS 2.1 (#185631), so fix that too. (also fix bogus borderTop addition in isPointInScrollbar, noticed while playing with thick bordered background-attachment testcases) BUG: 185631 M +8 -2 css/css_renderstyledeclarationimpl.cpp M +1 -1 css/cssparser.cpp M +6 -3 css/cssstyleselector.cpp M +344 -341 css/cssvalues.c M +233 -232 css/cssvalues.h M +5 -2 css/cssvalues.in M +1 -1 rendering/render_block.cpp M +2 -2 rendering/render_box.cpp M +1 -1 rendering/render_canvas.cpp M +10 -6 rendering/render_style.h WebSVN link: http://websvn.kde.org/?view=rev&revision=939470 I get expected results in Konqueror 4.2.3 under Kubuntu 9.04 (Linux 2.6.28-11-generic) Marking as VERIFIED |