Bug 260064

Summary: Use ImmutableStyleProperties for presentation attribute style
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 260143    
Bug Blocks:    

Description Antti Koivisto 2023-08-11 02:12:32 PDT
The mutable style here is never actually mutated after construction. Using immutable style is more memory efficient, allows deduplication and improves matched declarations cache performance.
Comment 1 Radar WebKit Bug Importer 2023-08-11 02:13:03 PDT
<rdar://problem/113741146>
Comment 2 Antti Koivisto 2023-08-11 02:16:54 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16600
Comment 3 EWS 2023-08-15 09:37:13 PDT
Committed 266914@main (257a3556e799): <https://commits.webkit.org/266914@main>

Reviewed commits have been landed. Closing PR #16600 and removing active labels.