Changeset 63943 in webkit
- Timestamp:
- Jul 22, 2010 7:36:02 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r63942 r63943 1 2010-07-22 MORITA Hajime <morrita@google.com> 2 3 Reviewed by Ojan Vafai. 4 5 Autoscroll on selection should take scrollbars into account as outside of the content. 6 https://bugs.webkit.org/show_bug.cgi?id=40403 7 8 ScrollView's scroll-bar was considered as a part of content rect, 9 that prevents autoscroll to happen when the pointer is over the 10 scroll-bar. This change excluded scroll-bar region from scrolling 11 delta calculation. 12 13 Test: WebCore/manual-tests/autoscroll-over-scrollbar.html 14 15 * rendering/RenderLayer.cpp: 16 (WebCore::RenderLayer::scrollRectToVisible): 17 1 18 2010-07-22 Kent Tamura <tkent@chromium.org> 2 19 -
trunk/WebCore/rendering/RenderLayer.cpp
r63269 r63943 1438 1438 newRect.setY(rect.y() - frameView->scrollY() + frameView->y()); 1439 1439 } else { 1440 IntRect viewRect = frameView->visibleContentRect( true);1440 IntRect viewRect = frameView->visibleContentRect(); 1441 1441 IntRect r = getRectToExpose(viewRect, rect, alignX, alignY); 1442 1442
Note: See TracChangeset
for help on using the changeset viewer.