Changeset 287847 in webkit
- Timestamp:
- Jan 10, 2022, 11:06:53 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/TestExpectations (modified) (2 diffs)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r287846 r287847 1 2022-01-10 Cathie Chen <cathiechen@igalia.com> 2 3 ASSERTION FAILED in RenderLayer::updateClipRects 4 https://bugs.webkit.org/show_bug.cgi?id=234315 5 6 Reviewed by Simon Fraser. 7 8 * TestExpectations: 9 1 10 2022-01-10 Chris Dumez <cdumez@apple.com> 2 11 -
trunk/LayoutTests/TestExpectations
r287846 r287847 3950 3950 webkit.org/b/230079 [ Debug ] imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-tr-contains-fixed-position.html [ Skip ] 3951 3951 webkit.org/b/230079 [ Debug ] imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-tr-percent-height-child.html [ Skip ] 3952 webkit.org/b/230079 [ Debug ] fast/layers/top-layer-ancestor-opacity-and-transform-crash.html [ Skip ] 3952 3953 3953 3954 webkit.org/b/230080 [ Release ] imported/w3c/web-platform-tests/css/css-transforms/transform-transformed-tbody-contains-fixed-position.html [ ImageOnlyFailure ] … … 5190 5191 imported/w3c/web-platform-tests/css/css-shadow-parts/interaction-with-nested-pseudo-class.html [ ImageOnlyFailure ] 5191 5192 5192 webkit.org/b/234315 [ Debug ] fast/layers/top-layer-ancestor-opacity-and-transform-crash.html [ Skip ]5193 5194 5193 webkit.org/b/183994 imported/w3c/web-platform-tests/css/cssom/css-style-attr-decl-block.html [ Failure ] 5195 5194 -
trunk/Source/WebCore/ChangeLog
r287845 r287847 1 2022-01-10 Cathie Chen <cathiechen@igalia.com> 2 3 ASSERTION FAILED in RenderLayer::updateClipRects 4 https://bugs.webkit.org/show_bug.cgi?id=234315 5 6 Reviewed by Simon Fraser. 7 8 In clippingRootForPainting(), the dialog element uses the top layer as its clipping root layer. 9 When it caculates the clip rects, it caculates all its ancestors' clip rects and caches them 10 including the clipping root layer. However, if the ancestor is a transformed layer, it should be 11 treated as a root layer. When the transformed layer updates its clip rects, the root layer won't 12 match the one in cache. This patch stops the dialog descendant propagating its clipping root layer 13 to the ancestors' in cache. 14 15 * rendering/RenderLayer.cpp: 16 (WebCore::RenderLayer::clipCrossesPaintingBoundary const): 17 1 18 2022-01-10 Tim Nguyen <ntim@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r287845 r287847 4458 4458 bool RenderLayer::clipCrossesPaintingBoundary() const 4459 4459 { 4460 if (establishesTopLayer()) 4461 return true; 4462 4460 4463 return parent()->enclosingPaginationLayer(IncludeCompositedPaginatedLayers) != enclosingPaginationLayer(IncludeCompositedPaginatedLayers) 4461 4464 || parent()->enclosingCompositingLayerForRepaint() != enclosingCompositingLayerForRepaint();
Note:
See TracChangeset
for help on using the changeset viewer.