Currently we invalidate the whole element subtree if there are any attribute selectors for the changed attribute. We should only invalidate what is really needed.
Created attachment 271344 [details]
Created attachment 271345 [details]
Comment on attachment 271345 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=271345&action=review
This is a really solid performance hack!
> + using ClassChangeVector = Vector<AtomicStringImpl*, 4>;
Created attachment 271360 [details]
Created attachment 271361 [details]