Chromium Code Reviews
DescriptionAvoid reaching for StyleResolver::m_features from StyleBuilder.
In order to inform style invalidation machinery, we have to keep track
of all styles that depend on DOM state. This bookkeeping is provided
by RuleFeatureSet, which is unfortunately hosted on StyleResolver.
This means that whenever we apply a "content: attr(foo)" property,
we must reach for m_features and add stuff to it.
This change avoids direct reaching by accumulating values on StyleResolverState.
No change in behavior, so no tests.
BUG=259085
R=eae, eseidel, esprehn
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155382
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||