DescriptionSkip independent inherited property propagation to pseudo elements.
UpdatePseudoElements and IndependentInherit conflict in the following
way. If we both have an independent inherit change on the actual dom
element, and we detect that we need to update the style for the pseudo
element we need to signal the inheritance propagation to the real dom
children and signal the pseudo element recalc to the pseudo element
children. If we return IndependentInherit, we lose the information
about the need for a pseudo element recalc, and if we return
UpdatePseudoElement, we lose the inheritance propagation for the actual
dom children.
We could introduce a new IndependentInheritAndUpdatePseudoElements, but
if there exists pseudo element, we would always return this constant,
so instead just force recalc on pseudo elements on IndependentInherit.
R=sashab@chromium.org
BUG=660735, 660089, 657283
Committed: https://crrev.com/998f4790884a34c5ac5167876a13b7cb7495a617
Cr-Commit-Position: refs/heads/master@{#431430}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|