Changeset 168230 in webkit
- Timestamp:
- May 3, 2014 3:16:53 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r168228 r168230 1 2014-05-03 Andreas Kling <akling@apple.com> 2 3 Invalidate scrollbars when custom scrollbar style changes dynamically. 4 <https://webkit.org/b/132529> 5 6 Reviewed by Antti Koivisto. 7 8 * fast/css/scrollbar-dynamic-style-change-expected.html: Added. 9 * fast/css/scrollbar-dynamic-style-change.html: Added. 10 1 11 2014-05-03 Simon Fraser <simon.fraser@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r168227 r168230 1 2014-05-03 Andreas Kling <akling@apple.com> 2 3 Invalidate scrollbars when custom scrollbar style changes dynamically. 4 <https://webkit.org/b/132529> 5 6 Add a ScrollView::styleDidChange() and call that from RenderView::styleDidChange() 7 so that the scrollbars are sure to get repainted with potentially different style. 8 9 Reviewed by Antti Koivisto. 10 11 Test: fast/css/scrollbar-dynamic-style-change.html 12 13 * platform/ScrollView.cpp: 14 (WebCore::ScrollView::styleDidChange): 15 * platform/ScrollView.h: 16 * rendering/RenderView.cpp: 17 (WebCore::RenderView::styleDidChange): 18 1 19 2014-05-03 Simon Fraser <simon.fraser@apple.com> 2 20 -
trunk/Source/WebCore/platform/ScrollView.cpp
r167529 r168230 1460 1460 } 1461 1461 1462 void ScrollView::styleDidChange() 1463 { 1464 if (m_horizontalScrollbar) 1465 m_horizontalScrollbar->styleChanged(); 1466 1467 if (m_verticalScrollbar) 1468 m_verticalScrollbar->styleChanged(); 1469 } 1470 1462 1471 #if !PLATFORM(COCOA) 1463 1472 -
trunk/Source/WebCore/platform/ScrollView.h
r167503 r168230 145 145 virtual PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation); 146 146 147 void styleDidChange(); 148 147 149 // If the prohibits scrolling flag is set, then all scrolling in the view (even programmatic scrolling) is turned off. 148 150 void setProhibitsScrolling(bool b) { m_prohibitsScrolling = b; } -
trunk/Source/WebCore/rendering/RenderView.cpp
r168121 r168230 1261 1261 if (hasRenderNamedFlowThreads()) 1262 1262 flowThreadController().styleDidChange(); 1263 1264 frameView().styleDidChange(); 1263 1265 } 1264 1266
Note: See TracChangeset
for help on using the changeset viewer.