When :target pseudoClass is dynamically changed, we should invalidate distribution. # I have to investigate how to cause this...
Created attachment 173838 [details] WIP
This patch also contains a patch for Bug 101903, since this is dependent to it.
Created attachment 174078 [details] Patch
Comment on attachment 174078 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=174078&action=review > Source/WebCore/dom/ElementShadow.cpp:276 > + case SelectRuleFeatureSet::RuleFeatureChecked: We could have a helper method which tells us whether we need invalidateDistribution() call.
Created attachment 174095 [details] Patch
(In reply to comment #4) > (From update of attachment 174078 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=174078&action=review > > > Source/WebCore/dom/ElementShadow.cpp:276 > > + case SelectRuleFeatureSet::RuleFeatureChecked: > > We could have a helper method which tells us whether we need invalidateDistribution() call. Done. hasSelectorFor() is suitable for this purpose.
Comment on attachment 174095 [details] Patch Clearing flags on attachment: 174095 Committed r134572: <http://trac.webkit.org/changeset/134572>
All reviewed patches have been landed. Closing bug.