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.
Created attachment 427416 [details]
Created attachment 427422 [details]
Created attachment 427424 [details]
Created attachment 427425 [details]
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].