Bug 252142

Summary: reduce custom property storage for sites with large numbers of custom properties on the root
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: CSSAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Cameron McCormack (:heycam)
Reported 2023-02-12 19:35:42 PST
Some sites have a large number of custom properties set on the root element, inheriting into the entire document. When different custom properties or values are set on descendant elements, we clone all of the inherited properties. We can adjust the way we store and inherit custom properties to handle this pattern with less memory use.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-12 19:36:00 PST
Cameron McCormack (:heycam)
Comment 2 2023-02-12 19:52:35 PST
EWS
Comment 3 2023-02-15 10:43:02 PST
Committed 260319@main (147e3eca970c): <https://commits.webkit.org/260319@main> Reviewed commits have been landed. Closing PR #10007 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.