NEW 208903
[SVG] RenderSVGResourceContainer's style invalidation should be a pre-layout task
https://bugs.webkit.org/show_bug.cgi?id=208903
Summary [SVG] RenderSVGResourceContainer's style invalidation should be a pre-layout ...
alan
Reported 2020-03-10 20:48:13 PDT
RenderSVGRoot::layout() -> m_resourcesNeedingToInvalidateClients -> resource->removeAllClientsFromCache() -> RenderSVGResourceContainer::markAllClientsForInvalidation -> RenderSVGResourceContainer::markAllClientLayersForInvalidation -> invalidateStyleAndLayerComposition -> dirty style -> schedule style recalc. This leads to unstable layout.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-03-10 20:48:36 PDT
alan
Comment 2 2020-03-10 21:15:30 PDT
Alternatively split RenderSVGResourceContainer::markAllClientsForInvalidation into 2 functions and call invalidation only through the non-layout case (e.g. make sure this function never gets called while in layout)
Note You need to log in before you can comment on or make changes to this bug.