support CSS3's background-attachment: local
commit9a1a06a7e7f5e0b88d753d6aa6a4477062e92a2e
authorggarand <ggarand@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sat, 14 Mar 2009 04:35:15 +0000 (14 04:35 +0000)
committerggarand <ggarand@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Sat, 14 Mar 2009 04:35:15 +0000 (14 04:35 +0000)
tree3c29b1c072fe55e12bc36bf8c228058b489759bc
parentd88b670fd7ee3278093533e3cdc71cc0d3c9571f
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

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs@939169 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
khtml/css/css_renderstyledeclarationimpl.cpp
khtml/css/cssparser.cpp
khtml/css/cssstyleselector.cpp
khtml/css/cssvalues.c
khtml/css/cssvalues.h
khtml/css/cssvalues.in
khtml/rendering/render_block.cpp
khtml/rendering/render_box.cpp
khtml/rendering/render_canvas.cpp
khtml/rendering/render_style.h