Changeset 246019 in webkit
- Timestamp:
- Jun 1, 2019, 8:01:47 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt (modified) (1 diff)
-
LayoutTests/platform/ios-wk2/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayerBacking.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r246018 r246019 1 2019-06-01 Simon Fraser <simon.fraser@apple.com> 2 3 [Async overflow scroll] Flashing content when scrolling async overflow with a negative z-index child 4 https://bugs.webkit.org/show_bug.cgi?id=198458 5 6 Reviewed by Dean Jackson. 7 8 * compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: 9 * platform/ios-wk2/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: 10 1 11 2019-06-01 Simon Fraser <simon.fraser@apple.com> 2 12 -
trunk/LayoutTests/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt
r246017 r246019 55 55 (paintingPhases 56 56 GraphicsLayerPaintForeground 57 GraphicsLayerPaintOverflowContents 57 58 ) 58 59 ) -
trunk/LayoutTests/platform/ios-wk2/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt
r246017 r246019 55 55 (paintingPhases 56 56 GraphicsLayerPaintForeground 57 GraphicsLayerPaintOverflowContents 57 58 ) 58 59 ) -
trunk/Source/WebCore/ChangeLog
r246018 r246019 1 2019-06-01 Simon Fraser <simon.fraser@apple.com> 2 3 [Async overflow scroll] Flashing content when scrolling async overflow with a negative z-index child 4 https://bugs.webkit.org/show_bug.cgi?id=198458 5 6 Reviewed by Dean Jackson. 7 8 Set the GraphicsLayerPaintOverflowContents phase on the foreground layer in a composited overflow scroller, 9 which prevents clipping to the visible region, fixing scrolling flashes. 10 11 Tested by compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases.html 12 13 * rendering/RenderLayerBacking.cpp: 14 (WebCore::RenderLayerBacking::updatePaintingPhases): 15 1 16 2019-06-01 Simon Fraser <simon.fraser@apple.com> 2 17 -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r246018 r246019 2103 2103 if (m_foregroundLayer) { 2104 2104 OptionSet<GraphicsLayerPaintingPhase> foregroundLayerPhases { GraphicsLayerPaintingPhase::Foreground }; 2105 2106 if (m_scrolledContentsLayer) 2107 foregroundLayerPhases.add(GraphicsLayerPaintingPhase::OverflowContents); 2108 2105 2109 m_foregroundLayer->setPaintingPhase(foregroundLayerPhases); 2106 2110 primaryLayerPhases.remove(GraphicsLayerPaintingPhase::Foreground);
Note:
See TracChangeset
for help on using the changeset viewer.