DescriptionCount consecutive direct adjacent selectors.
The maxDirectAdjacentSelectors counter in RuleFeatureSet should only count
the maximum number of consecutive direct adjacent combinators. The number is
used to invalidate style for sibling trees.
For instance a selector like "div+div div+div" only needs to invalidate a
single sibling tree.
When a different combinator is encountered, store the number of consecutive
direct adjacent combinators seen and reset the counter; instead of counting
all direct adjacent combinators in the selector.
R=ojan
BUG=340866
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166468
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|