Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: No reasons for compositing for an element with clip-pa…
…th and composited descendants https://bugs.webkit.org/show_bug.cgi?id=242590 Reviewed by Simon Fraser. If an element has clip-path and composited descendants, it has a composited layer. However, Web Inspector didn't show no reason for "Reasons for compositing" in the Layers tab. * Source/WebCore/rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::reasonsForCompositing const): Add CompositingReason::ClipsCompositingDescendants if hasClipPath. Canonical link: https://commits.webkit.org/252354@main
- Loading branch information