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.
<rdar://problem/77317178>
Created attachment 427416 [details] patch
Created attachment 427422 [details] patch
Created attachment 427424 [details] patch
Created attachment 427425 [details] patch
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].