Changeset 89065 in webkit
- Timestamp:
- Jun 16, 2011 2:18:35 PM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r89057 r89065 1 2011-06-16 Sailesh Agrawal <sail@chromium.org> 2 3 Reviewed by Mihai Parparita. 4 5 [Chromium] Overlay scrollbars leave glitches on web content 6 https://bugs.webkit.org/show_bug.cgi?id=62383 7 8 Enable overlay scrollbars on Chromium Mac. 9 10 * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm: 11 (preferredScrollerStyle): 12 1 13 2011-06-16 una sabovic <una.sabovic@palm.com> 2 14 -
trunk/Source/WebCore/platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm
r89016 r89065 125 125 static NSScrollerStyle preferredScrollerStyle() 126 126 { 127 // TODO(sail): Disable overlay scrollbars for now until the following issues are fixed:128 // #1: Invalidation issues causes the scrollbar to leave trailing artifacts.129 // #2: Find tick marks need to be drawn on the scrollbar track.130 return NSScrollerStyleLegacy;131 132 127 if ([NSScroller respondsToSelector:@selector(preferredScrollerStyle)]) 133 128 return [NSScroller preferredScrollerStyle]; -
trunk/Source/WebKit/chromium/ChangeLog
r89063 r89065 1 2011-06-16 Sailesh Agrawal <sail@chromium.org> 2 3 Reviewed by Mihai Parparita. 4 5 [Chromium] Overlay scrollbars leave glitches on web content 6 https://bugs.webkit.org/show_bug.cgi?id=62383 7 8 Fix glitches when scrolling with overlay scrollbars. The problem was that the render widget was copying the scrollbars when scrolling. Fix was to intersect the clip rect with the scroll rect. This is the same thing that Safari does (see WebChromeClient::scroll). 9 10 * src/ChromeClientImpl.cpp: 11 (WebKit::ChromeClientImpl::scroll): 12 1 13 2011-06-16 Ryosuke Niwa <rniwa@webkit.org> 2 14 -
trunk/Source/WebKit/chromium/src/ChromeClientImpl.cpp
r88582 r89065 556 556 int dx = scrollDelta.width(); 557 557 int dy = scrollDelta.height(); 558 m_webView->client()->didScrollRect(dx, dy, clipRect);558 m_webView->client()->didScrollRect(dx, dy, intersection(scrollRect, clipRect)); 559 559 } 560 560 #if USE(ACCELERATED_COMPOSITING)
Note: See TracChangeset
for help on using the changeset viewer.