User style is per-document. We can save memory and work by sharing it between document and shadow trees.
Created attachment 308819 [details]
Comment on attachment 308819 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=308819&action=review
r=me, this nicely fixes 50% of what i complained about :)
What about frames though!
> + Large user stylesheets (like those user by add blockers) can end up using lots of memory if
"add blockers" jeez
Reverted r216069 for reason:
This change broke the build.
Committed r216071: <http://trac.webkit.org/changeset/216071>
(In reply to Ryan Haddad from comment #4)
> Reverted r216069 for reason:
> This change broke the build.
> Committed r216071: <http://trac.webkit.org/changeset/216071>
Created attachment 308834 [details]
Comment on attachment 308834 [details]
Clearing flags on attachment: 308834
Committed r216083: <http://trac.webkit.org/changeset/216083>
All reviewed patches have been landed. Closing bug.