Reviewed by Adam.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Feb 2007 23:44:04 +0000 (23:44 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Feb 2007 23:44:04 +0000 (23:44 +0000)
commite34fedbfe65401f1985baedc817622785940a96a
tree5e6de66f0c4edc88245bfa6a333858001cc9482f
parent5eccfc93f7899ea54f45ceb4a5626ae9bab14dcc
    Reviewed by Adam.

        - fixed layout test failure in fast/overflow/scrollRevealButton

        I added a new ScrollView method, fullyClippedContentRect, that vies the content rect
        as clipped by all ancestor scroll views, not just this one. Currently it only works
        correctly on mac however. visibleContentRect, only accounting for the clipping from
        this particular scroll view, is sufficient for most purposes.

        * page/Frame.cpp:
        (WebCore::Frame::visibleSelectionRect):
        (WebCore::Frame::setIsActive):
        (WebCore::Frame::markAllMatchesForText):
        * platform/ScrollView.h:
        * platform/gdk/ScrollViewGdk.cpp:
        (WebCore::ScrolView::fullyClippedContentRect):
        * platform/mac/ScrollViewMac.mm:
        (WebCore::ScrollView::fullyClippedContentRect):
        * platform/qt/ScrollViewQt.cpp:
        (WebCore::ScrolView::fullyClippedContentRect):
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::scrollRectToVisible):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/Frame.cpp
WebCore/platform/ScrollView.h
WebCore/platform/gdk/ScrollViewGdk.cpp
WebCore/platform/mac/ScrollViewMac.mm
WebCore/platform/qt/ScrollViewQt.cpp
WebCore/rendering/RenderLayer.cpp