Changeset 167807 in webkit
- Timestamp:
- Apr 25, 2014 8:27:55 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167805 r167807 1 2014-04-25 Brent Fulgham <bfulgham@apple.com> 2 3 ScrollingCoordinator is unaware of topContentInset 4 https://bugs.webkit.org/show_bug.cgi?id=132158 5 <rdar://problem/16706152> 6 7 Reviewed by Darin Adler. 8 9 * platform/mac/fast/scrolling/scroll-select-bottom-test-expected.txt: Added. 10 * platform/mac/fast/scrolling/scroll-select-bottom-test.html: Added. 11 1 12 2014-04-25 Miyoung Shin <myid.shin@samsung.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r167806 r167807 1 2014-04-25 Brent Fulgham <bfulgham@apple.com> 2 3 ScrollingCoordinator is unaware of topContentInset 4 https://bugs.webkit.org/show_bug.cgi?id=132158 5 <rdar://problem/16706152> 6 7 Reviewed by Darin Adler. 8 9 Test: platform/mac/fast/scrolling/scroll-select-bottom-test.html 10 11 The calculation of non-fast-scrollable regions does not currently take 12 the topContentOffset into account. Consequently, the logic that decides 13 whether to stay on the scrolling thread, or drop down to an individual 14 page element, can make the wrong choice. This is especially true for 15 small scrollable regions (such as <select> elements), where the 16 topContentInset may be quite close to the size of the scrollable 17 element itself. 18 19 * page/scrolling/ScrollingCoordinator.cpp: 20 (WebCore::ScrollingCoordinator::computeNonFastScrollableRegion): Also 21 include the topContentInset value in our calculation. 22 1 23 2014-04-25 Javier Fernandez <jfernandez@igalia.com> 2 24 -
trunk/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
r166811 r167807 125 125 IntPoint offset = frameLocation; 126 126 offset.moveBy(frameView->frameRect().location()); 127 offset.move(0, frameView->topContentInset()); 127 128 128 129 if (const FrameView::ScrollableAreaSet* scrollableAreas = frameView->scrollableAreas()) {
Note: See TracChangeset
for help on using the changeset viewer.