This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing 1 changed file with 2 additions and 0 deletions.