WebCore:
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Oct 2008 07:04:38 +0000 (07:04 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Oct 2008 07:04:38 +0000 (07:04 +0000)
commit2b25b1be6a6883ee63a937d12e752a99cbbb98fb
treebd1cd0e0cfc91bdd7b2a63d9fe6e0806a93e0364
parentfa57c998896ce6dde25c3245c0b21ae3b451f1b4
WebCore:

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: https://svn.webkit.org/repository/webkit/trunk@37475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/mac/scrollbars/scrollbar-orientation-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/scrollbars/scrollbar-orientation-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/scrollbars/scrollbar-orientation-expected.txt [new file with mode: 0644]
LayoutTests/scrollbars/scrollbar-orientation.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/CSSSelector.cpp
WebCore/css/CSSSelector.h
WebCore/css/CSSStyleSelector.cpp
WebCore/platform/Scrollbar.cpp
WebCore/platform/Scrollbar.h
WebCore/rendering/RenderScrollbar.cpp
WebCore/rendering/RenderScrollbar.h