DescriptionRespect fallback colors when interpolating text-decoration-color.
Currently, we interpolate the incorrect colors if one of the fallback
colors (other than currentColor) are used for text decoration. This happens
because we bypass the fallback code when creating the AnimatableValues.
This patch moves the color retrieving code for text decoration into
the main RenderStyle::colorIncludingCallback function, and changes callers
to use visitedDependentColor/colorIncludingFallback also for
CSSPropertyTextDecorationColor. This is better, because you don't have to
do anything special with the text decoration color compared to all other
colors.
R=alancutter@chromium.org
BUG=435546
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185870
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|