-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regression: Content not drawn when scrolling horizontally in an RTL page
https://bugs.webkit.org/show_bug.cgi?id=55077 Reviewed by David Hyatt. * platform/ScrollView.cpp: (WebCore::ScrollView::overhangAmount): (WebCore::ScrollView::calculateOverhangAreasForPainting): Take the scroll origin into account when calculating overhang. * platform/ScrollView.h: * rendering/RenderLayer.h: * platform/ScrollableArea.h: (WebCore::ScrollableArea::scrollOrigin): Move identical scroll origin member from ScrollView and RenderLayer to shared base ScrollableArea. This is also needed so that the animator can access it. * platform/mac/ScrollAnimatorMac.mm: (WebCore::ScrollAnimatorMac::pinnedInDirection): (WebCore::ScrollAnimatorMac::smoothScrollWithEvent): (WebCore::ScrollAnimatorMac::snapRubberBandTimerFired): Account for a scroll origin when doing calculating scroll offsets. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
weinig@apple.com
committed
Mar 10, 2011
1 parent
e84b316
commit 8c01924
Showing
6 changed files
with
69 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters