DescriptionApply the text autosizing multiplier in FontBuilder::updateComputedSize.
When we resolve style for an element with an explicit font size, we build a new
FontDescription but we inherit the text autosizing multiplier from the parent's
RenderStyle (see http://crbug.com/380903).
We need to respect this multiplier when we initialize the computed size in the
FontDescription, or else they are out of sync with each other. They remain out
of sync even after we layout the element, because TextAutosizer sees that the
element already has the correct multiplier and doesn't touch it.
BUG=403132
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180322
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|