Scrollbars don't work correctly for top-to-bottom text in an overflow: scroll area
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Jan 2011 05:02:13 +0000 (05:02 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Jan 2011 05:02:13 +0000 (05:02 +0000)
commit9562bc6beb320ace4747d119ab7e3167fece6cc3
treed4e3fef4421bdd98d0d03cd4fd3eb20c64ec3847
parent091a2c28d124bdd90f4645cc2f7d8dcb61c8179e
Scrollbars don't work correctly for top-to-bottom text in an overflow: scroll area
https://bugs.webkit.org/show_bug.cgi?id=53048

Reviewed by David Hyatt.

Source/WebCore:

Test: fast/overflow/overflow-rtl-vertical-origin.html

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::scrollPosition):
(WebCore::RenderLayer::updateScrollInfoAfterLayout):
Take the scroll origin into account when calculating scrollbars in more places.

LayoutTests:

* fast/overflow/overflow-rtl-vertical-origin-expected.txt: Added.
* fast/overflow/overflow-rtl-vertical-origin.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@76669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/overflow/overflow-rtl-vertical-origin-expected.txt [new file with mode: 0644]
LayoutTests/fast/overflow/overflow-rtl-vertical-origin.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayer.cpp