Bug 225187

Summary: Share style resolvers between author shadow trees with identical style
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: emilio, rniwa, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 225102    
Bug Blocks: 148695, 222187    
Attachments:
Description Flags
patch
none
patch
none
patch
none
patch none

Description Antti Koivisto 2021-04-29 04:37:37 PDT
It is common for a web components based application to have many shadow trees with identical style. We should share the style resolver for better performance and lower memory usage.
Comment 1 Radar WebKit Bug Importer 2021-04-29 05:41:48 PDT
<rdar://problem/77317178>
Comment 2 Antti Koivisto 2021-04-30 07:21:40 PDT
Created attachment 427416 [details]
patch
Comment 3 Antti Koivisto 2021-04-30 08:32:27 PDT
Created attachment 427422 [details]
patch
Comment 4 Antti Koivisto 2021-04-30 08:50:00 PDT
Created attachment 427424 [details]
patch
Comment 5 Antti Koivisto 2021-04-30 08:58:42 PDT
Created attachment 427425 [details]
patch
Comment 6 EWS 2021-05-01 22:22:57 PDT
Committed r276882 (237228@main): <https://commits.webkit.org/237228@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 427425 [details].