Changeset 80622 in webkit
- Timestamp:
- Mar 8, 2011 10:23:37 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r80621 r80622 1 2011-03-08 Xiaomei Ji <xji@chromium.org> 2 3 Reviewed by David Hyatt. 4 5 Fix Regression: Content not drawn when scrolling horizontally in an RTL page. 6 https://bugs.webkit.org/show_bug.cgi?id=55077. 7 8 * fast/dom/scroll-reveal-left-overflow.html: Added. 9 * fast/dom/scroll-reveal-top-overflow.html: Added. 10 * platform/mac/fast/dom/scroll-reveal-left-overflow-expected.checksum: Added. 11 * platform/mac/fast/dom/scroll-reveal-left-overflow-expected.png: Added. 12 * platform/mac/fast/dom/scroll-reveal-left-overflow-expected.txt: Added. 13 * platform/mac/fast/dom/scroll-reveal-top-overflow-expected.checksum: Added. 14 * platform/mac/fast/dom/scroll-reveal-top-overflow-expected.png: Added. 15 * platform/mac/fast/dom/scroll-reveal-top-overflow-expected.txt: Added. 16 1 17 2011-03-08 Gavin Barraclough <barraclough@apple.com> 2 18 -
trunk/Source/WebCore/ChangeLog
r80620 r80622 1 2011-03-08 Xiaomei Ji <xji@chromium.org> 2 3 Reviewed by David Hyatt. 4 5 Fix Regression: Content not drawn when scrolling horizontally in an RTL page. 6 https://bugs.webkit.org/show_bug.cgi?id=55077. 7 8 Inside ScrollView::calculateOverhangAreasForPainting(), when scroll position 9 is negative, should include the position value into overhang rectangle's 10 starting position. 11 12 Tests: fast/dom/scroll-reveal-left-overflow.html 13 fast/dom/scroll-reveal-top-overflow.html 14 15 * platform/ScrollView.cpp: 16 (WebCore::ScrollView::calculateOverhangAreasForPainting): 17 1 18 2011-03-08 Daniel Bates <dbates@rim.com> 2 19 -
trunk/Source/WebCore/platform/ScrollView.cpp
r79360 r80622 971 971 horizontalOverhangRect = frameRect(); 972 972 horizontalOverhangRect.setHeight(-scrollY()); 973 horizontalOverhangRect.setY(scrollY()); 973 974 } else if (scrollY() > contentsHeight() - visibleContentRect().height()) { 974 975 int height = scrollY() - (contentsHeight() - visibleContentRect().height()); … … 981 982 verticalOverhangRect.setWidth(-scrollX()); 982 983 verticalOverhangRect.setHeight(frameRect().height() - horizontalOverhangRect.height()); 983 verticalOverhangRect.setX(frameRect().x() );984 verticalOverhangRect.setX(frameRect().x() + scrollX()); 984 985 if (horizontalOverhangRect.y() == frameRect().y()) 985 986 verticalOverhangRect.setY(frameRect().y() + horizontalOverhangRect.height());
Note: See TracChangeset
for help on using the changeset viewer.