DescriptionFix incorrect style recalculation of text-decoration properties.
This change adds the color and style of each decoration to the
AppliedTextDecoration class. This is needed to make RenderStyle
diffs compute correctly when the color or style of a decoration is changed.
The color-resolving code in RenderObject has been moved to RenderStyle to
enable use from both RenderStyle and RenderObject.
This patch also makes it possible to implement multiple decorations
on the same line. (A future patch).
BUG=350840, 315271
TEST=text-decoration-color-recalc.html
text-decoration-style-recalc.html
text-decoration-line-recalc.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174285
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rebase. #Patch Set 3 : Address review issues. #Messages
Total messages: 6 (0 generated)
|