[Webkit-unassigned] [Bug 241489] New: Track SVG renderer updates using a NodeFlag instead of on Style::Update

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 9 14:00:32 PDT 2022


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

            Bug ID: 241489
           Summary: Track SVG renderer updates using a NodeFlag instead of
                    on Style::Update
           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

SVG renderer updates are currently tracked as a kind of Style::Update change.  When a page is updating attributes on many SVG elements, but is not making changes that require a restyle on those elements, we can spend a lot of time hashing to store and look up the Style::Update associated with an element.

We could track the "SVG renderer update is needed" state using a Node flag instead, but continue using the Style::Update mechanism for root tracking, to reduce the overhead.

-- 
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/20220609/dd8a3e55/attachment.htm>


More information about the webkit-unassigned mailing list