WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-03-10 20:48:36 PDT
<
rdar://problem/60306128
>
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.
Top of Page
Format For Printing
XML
Clone This Bug