Description[css-ui] Make caret-color animatable
This patch makes caret-color an animatable property.
The only special part is becuase "auto", the initial value of
this property, is not interpolable, so we need to do some changes in
CSSAnimatableValueFactory::create() and ColorPropertyFunctions.
Also this patch modifies StyleAutoColor, so toStyleColor()
can only be called for non "auto" colors.
Adds 2 new tests (caret-color-composition.html and
caret-color-interpolation.html) to verify that
the interpolation works as expected.
Also the animations tests (caret-color-018.html and
caret-color-020.html) from the W3C suite are passing now.
Marks caret-color-021.html as failing because of the TODOs
on the patch (see http://crbug.com/676295).
BUG=669490
TEST=animations/composition/caret-color-composition.html
TEST=animations/interpolation/caret-color-interpolation.html
TEST=imported/csswg-test/css-ui-3/caret-color-018.html
TEST=imported/csswg-test/css-ui-3/caret-color-019.html
TEST=imported/csswg-test/css-ui-3/caret-color-020.html
Committed: https://crrev.com/3ddca0e44883c2ae38bcc45b48853d0db31e9691
Cr-Commit-Position: refs/heads/master@{#440377}
Patch Set 1 #
Total comments: 1
Patch Set 2 : New version with new tests #Patch Set 3 : Fix interpolation test using assertNoInterpolation() #Patch Set 4 : Update W3C tests as they've been accepted upstream #Patch Set 5 : Rebased patch #
Total comments: 4
Patch Set 6 : Rebased patch fixing build modifying CSSInterpolationTypesMap #Patch Set 7 : Apply suggested changes and add new composition test #
Total comments: 2
Patch Set 8 : Apply suggested changes #
Total comments: 3
Patch Set 9 : Come back to previous version but keep DCHECK in toStyleColor() #
Total comments: 2
Patch Set 10 : Patch for landing adding TODO #Messages
Total messages: 31 (10 generated)
|