Changeset 263860 in webkit
- Timestamp:
- Jul 2, 2020, 2:08:06 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/compositing/scrolling/async-overflow-scrolling/foreground-layer-paint-phase-expected.html (added)
-
LayoutTests/compositing/scrolling/async-overflow-scrolling/foreground-layer-paint-phase.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r263859 r263860 1 2020-07-02 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION(r260276): menu items in footer of https://salo.ai are invisible until you hover or resize 4 https://bugs.webkit.org/show_bug.cgi?id=213712 5 <rdar://problem/64893190> 6 7 Reviewed by Zalan Bujtas. 8 9 * compositing/scrolling/async-overflow-scrolling/foreground-layer-paint-phase-expected.html: Added. 10 * compositing/scrolling/async-overflow-scrolling/foreground-layer-paint-phase.html: Added. 11 1 12 2020-07-02 Karl Rackler <rackler@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r263858 r263860 1 2020-07-02 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION(r260276): menu items in footer of https://salo.ai are invisible until you hover or resize 4 https://bugs.webkit.org/show_bug.cgi?id=213712 5 <rdar://problem/64893190> 6 7 Reviewed by Zalan Bujtas. 8 9 A negative z-index child triggers a foreground layer inside overflow scroll. This foreground layer 10 gets the PaintingOverflowContents flag but not the PaintingCompositingScrollingPhase flag, but we still need 11 to avoid the clip check that happens in RenderBlock::paint(), so change RenderLayer::paintLayerContents() 12 to just check for isPaintingOverflowContents. 13 14 Test: compositing/scrolling/async-overflow-scrolling/foreground-layer-paint-phase.html 15 16 * rendering/RenderLayer.cpp: 17 (WebCore::RenderLayer::paintLayerContents): 18 1 19 2020-07-02 Antoine Quint <graouts@webkit.org> 2 20 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r263688 r263860 4616 4616 paintBehavior.add(PaintBehavior::TileFirstPaint); 4617 4617 4618 if (isPainting ScrollingContent && isPaintingOverflowContents)4618 if (isPaintingOverflowContents) 4619 4619 paintBehavior.add(PaintBehavior::CompositedOverflowScrollContent); 4620 4620
Note:
See TracChangeset
for help on using the changeset viewer.