Bug
1680115 [wpt PR 26705] - Avoid problem of decomposited effect on SVG root, a=testonly
Automatic update from web-platform-tests
Avoid problem of decomposited effect on SVG root
This CL avoids the problem by
- Disabling compositing of SVG child for will-change:top etc. which
don't apply.
- Including CompositingReason::kSVGRoot on the effect node (if exists)
on SVG root to prevent the effect node from being decomposited during
PaintArtifactCompositor::Update(), to ensure the composited layer for
SVG root will create a render surface when needed. We still need to
create a better solution for this (tracked by crbug.com/
1154097).
Because CompositingReason::kSVGRoot is for pre-CompositeAfterPaint
CompositeSVG only to create a GraphicsLayer with
ShouldCreateLayersAfterPaint, this CL also disable the logic for
CompositeAfterPaint.
Bug:
1152691
Change-Id: Ic194501698c0afd5a058647344f812077ed07709
--
wpt-commits:
545c70be7ba0f19e557b529ebb8fdf6e56eeb3cd
wpt-pr: 26705