DescriptionMake font-weight animatable.
We currently don't animate font-weight, even though (1) the spec calls for it, and (2) other
browsers (IE+FF) do.
The interpolator converts the font weights to equivalent real numbers, and performs
the interpolation on these values. The font weight is rounded to the nearest 100 when
the animated style is built.
BUG=289734
TEST=automated
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167784
Patch Set 1 #Patch Set 2 : Remove AnimatableFontWeight class. #
Total comments: 3
Patch Set 3 : Fixed review issues #
Total comments: 1
Patch Set 4 : Use clampTo<int>. #
Messages
Total messages: 10 (0 generated)
|