Chromium Code Reviews
DescriptionWeb Animations CSS: Fix crash when transitioning background or mask properties
This patch ensures the first layer for background and mask declares that
their values are set. This has no visible effect on the way fill layers
work, this just ensures an assertion made by the Web Animations engine
about fill layer properties is correct.
The current animation implementation did not make use of the flags on a fill layer
that indicate whether a value was set or not and will be agnostic to this change.
In order to implement correct interpolation behaviour[1] for many fill layer
properties these flags need to be used.
The existing FillLayer implementation was not setting these flags correctly for
the initial values, this patch fixes that.
[1] http://www.w3.org/TR/css3-transitions/#animtype-repeatable-list
Fixes crashing tests:
virtual/web-animations-css/transitions/multiple-background-size-transitions.html
virtual/web-animations-css/transitions/shorthand-transitions.html
BUG=257591
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161438
Patch Set 1 #Patch Set 2 : Set m_compositeSet #Patch Set 3 : Rebased #Patch Set 4 : Rebased #Patch Set 5 : Removed passing tests from TestExpectations #
Total comments: 2
Patch Set 6 : Renamed parameter #Patch Set 7 : Rebased #
Messages
Total messages: 13 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||