-
hyatt@apple.com authored
2008-10-09 David Hyatt <hyatt@apple.com> Add support for scrollbar orientation as a pseudoclass. Add support for whether or not the scrollbar is active as well. Reviewed by Tim Hatcher Added scrollbars/scrollbar-orientation.html * css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType): * css/CSSSelector.h: (WebCore::CSSSelector::): * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkScrollbarPseudoClass): * platform/Scrollbar.cpp: (WebCore::Scrollbar::isWindowActive): * platform/Scrollbar.h: * rendering/RenderScrollbar.cpp: (WebCore::RenderScrollbar::paint): (WebCore::RenderScrollbar::partForStyleResolve): * rendering/RenderScrollbar.h: LayoutTests: 2008-10-09 David Hyatt <hyatt@apple.com> Add layout test for scrollbars honoring orientation and window active state. Reviewed by Tim Hatcher * platform/mac/scrollbars/scrollbar-orientation-expected.checksum: Added. * platform/mac/scrollbars/scrollbar-orientation-expected.png: Added. * platform/mac/scrollbars/scrollbar-orientation-expected.txt: Added. * scrollbars/scrollbar-orientation.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e3803263