DescriptionSupport invalidation sets for negated selectors.
Add invalidation set features to invalidation sets for negated classes, ids,
etc. But still treat negated features as universal selectors and trigger
subtree recalc.
Example selector -> invalidation set mappings:
":not(.a)" -> ".a {}"
":not(.a) .b" -> ".b {}, .a { .b }"
".a :not(.b)" -> ".a { * }, .b {}"
".a .b:not(.c)" -> ".a { .b }, .b {}, .c {}"
BUG=377939
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180632
Patch Set 1 #Patch Set 2 : Rebased #
Messages
Total messages: 15 (0 generated)
|