Current approach where we share RenderStyle objects between elements leads to lot of awkward and bug-prone code. Most of the RenderStyle consists of shareable substructures. It is better to just share those.
Created attachment 274743 [details] patch
Created attachment 274746 [details] patch
Comment on attachment 274746 [details] patch r=me, let's hope this doesn't regress anything, it's so much cleaner.
Created attachment 274748 [details] patch
https://trac.webkit.org/r198584