Reviewed by NOBODY (OOPS!).
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2006 02:47:38 +0000 (02:47 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2006 02:47:38 +0000 (02:47 +0000)
commit5ae4840ecf5f657b6bd9f090cd85520b0cb72c77
tree7541c6f1dfa5b377ca5acfd5f979005036266ed5
parenta86de9bdfb508718e971830a43a74ecacc34f3bc
    Reviewed by NOBODY (OOPS!).

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7071
          REGRESSION: Jumping to an anchor identifier makes page scroll horizontally

        Test: fast/overflow/scroll-vertical-not-horizontal.html

        * rendering/render_layer.cpp: (WebCore::RenderLayer::getRectToExpose):
        Fixed rectangle intersections so that the X and Y dimensions are independent,
        to fix the bug. Also restructured the function a bit so it's even easier to
        read and understand.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/rendering/render_layer.cpp