-
ericwilligers@chromium.org authored
When we have a style rule of the form .a > .b { ... } and class 'a' is added to, or removed from, an element, we have been forcing the style of the updated element to become recalculated, just in case there was also a style rule of the form .a { ... } or .c > .a { ... } We introduce a 'invalidatesSelf' bit in InvalidationSet, to indicate if a given class/id/tag/pseudo-type (class 'a' in this example) ever appears in a rightmost position. Discussed in Sibling Invalidation design doc https://goo.gl/z0Z9gn BUG=532315 Review URL: https://codereview.chromium.org/1349543004 git-svn-id: svn://svn.chromium.org/blink/trunk@202449 bbb929c8-8fbe-4397-9dbb-9b2b20218538
d01da396