[Webkit-unassigned] [Bug 243808] New: rebuild SVGResources after a resource is removed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 10 18:42:04 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243808

            Bug ID: 243808
           Summary: rebuild SVGResources after a resource is removed
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com
                CC: sabouhallawa at apple.com, zimmermann at kde.org

Before bug 242497, we would rebuild the SVGResources for a client SVG element whenever we call into its RenderObject's layout function.  This was wasteful if we know that they layout change doesn't affect the resource, so in bug 242497 (and in the bugs I'm working under bug 242420), I am making the various RenderSVGResource handle caching data based on the layout information of the client.

When a RenderSVGResource is removed (e.g. because its render tree is being re-created, or the element is removed), we remove it from all clients' SVGResources and mark the clients as needing layout.  Now that we no longer unconditionally rebuild the SVGResources for the client under its layout function, we need another way to indicate that it needs to be rebuilt.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220811/f717edcb/attachment-0001.htm>


More information about the webkit-unassigned mailing list