[Webkit-unassigned] [Bug 245939] New: [web-animations] avoid extra serialization and parsing when calling commitStyles()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 2 00:12:40 PDT 2022


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

            Bug ID: 245939
           Summary: [web-animations] avoid extra serialization and parsing
                    when calling commitStyles()
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at webkit.org
                CC: dino at apple.com, graouts at apple.com

Currently WebAnimation::commitStyles() is rather inefficient as it sets new inline styles on a CSSStyleDeclaration as text, which requires serialization from the CSSValue and then parsing, and finally serializes the whole declaration before having it re-parsed once more when we call setAttribute("style", …). We should find a way to just pass around the CSSValue into the underlying data structures throughout.

-- 
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/20221002/fc6b1dd0/attachment.htm>


More information about the webkit-unassigned mailing list