PTAL at the revised version of https://codereview.chromium.org/2309963002.
The changes from the previous patch are:
- checkAnimationProperties in CSSAnimations::calculateAnimationUpdate()
This ensures that calculateAnimationActiveInterpolations() is still called in
animation style recalcs.
- Checking state.isAnimationInterpolationMapReady() in
StyleResolver::applyAnimatedStandardProperties()
This ensures that calculateAnimationActiveInterpolations() is still called
when the baseComputedStyle optimisation is active.
Both scenarios "in animation style recalc" and "baseComputedStyle optimisation
is active" had #if DCHECK_IS_ON() code segments that hid these bugs from the
tests with asserts enabled. Without asserts enabled many many tests fail.
suzyh_UTC10 (ex-contributor)
On 2016/11/30 at 06:08:16, alancutter wrote: > PTAL at the revised version of https://codereview.chromium.org/2309963002. > ...
On 2016/11/30 at 06:08:16, alancutter wrote:
> PTAL at the revised version of https://codereview.chromium.org/2309963002.
> The changes from the previous patch are:
> - checkAnimationProperties in CSSAnimations::calculateAnimationUpdate()
> This ensures that calculateAnimationActiveInterpolations() is still called
in animation style recalcs.
> - Checking state.isAnimationInterpolationMapReady() in
StyleResolver::applyAnimatedStandardProperties()
> This ensures that calculateAnimationActiveInterpolations() is still called
when the baseComputedStyle optimisation is active.
>
> Both scenarios "in animation style recalc" and "baseComputedStyle optimisation
is active" had #if DCHECK_IS_ON() code segments that hid these bugs from the
tests with asserts enabled. Without asserts enabled many many tests fail.
For the record, Alan filed
https://bugs.chromium.org/p/chromium/issues/detail?id=669790 to track this
issue. I suggest also referring to it in the CL description and bug for this
patch for extra trails.
alancutter (OOO until 2018)
Description was changed from ========== Apply custom property animations This change enables CSS and Web ...
Description was changed from
==========
Apply custom property animations
This change enables CSS and Web animations to apply animated
effects on CSS custom properties.
This change involves a restructure of style resolving detailed
in the design doc:
https://docs.google.com/a/chromium.org/document/d/1V27q30H-pQZVbzHCJjdFThBSeu...
This is a reland of https://codereview.chromium.org/2309963002
with fixes for when the baseComputedStyle optimisation is active.
BUG=644148
==========
to
==========
Apply custom property animations
This change enables CSS and Web animations to apply animated
effects on CSS custom properties.
This change involves a restructure of style resolving detailed
in the design doc:
https://docs.google.com/a/chromium.org/document/d/1V27q30H-pQZVbzHCJjdFThBSeu...
This is a reland of https://codereview.chromium.org/2309963002
with fixes for when the baseComputedStyle optimisation is active.
The revert was due to crbug.com/669790 where behaviour differs
depending on whether asserts are enabled, thus none of the try
bots picked up on the bug.
BUG=644148
==========
alancutter (OOO until 2018)
On 2016/11/30 at 21:56:08, suzyh wrote: > On 2016/11/30 at 06:08:16, alancutter wrote: > > ...
On 2016/11/30 at 21:56:08, suzyh wrote:
> On 2016/11/30 at 06:08:16, alancutter wrote:
> > PTAL at the revised version of https://codereview.chromium.org/2309963002.
> > The changes from the previous patch are:
> > - checkAnimationProperties in CSSAnimations::calculateAnimationUpdate()
> > This ensures that calculateAnimationActiveInterpolations() is still
called in animation style recalcs.
> > - Checking state.isAnimationInterpolationMapReady() in
StyleResolver::applyAnimatedStandardProperties()
> > This ensures that calculateAnimationActiveInterpolations() is still
called when the baseComputedStyle optimisation is active.
> >
> > Both scenarios "in animation style recalc" and "baseComputedStyle
optimisation is active" had #if DCHECK_IS_ON() code segments that hid these bugs
from the tests with asserts enabled. Without asserts enabled many many tests
fail.
>
> For the record, Alan filed
https://bugs.chromium.org/p/chromium/issues/detail?id=669790 to track this
issue. I suggest also referring to it in the CL description and bug for this
patch for extra trails.
Done.
Timothy Loh
lgtm but next time upload the original patch first so they can be diffed between ...
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/190508)
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/325089)
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/172911)
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/327502)
Description was changed from
==========
Apply custom property animations
This change enables CSS and Web animations to apply animated
effects on CSS custom properties.
This change involves a restructure of style resolving detailed
in the design doc:
https://docs.google.com/a/chromium.org/document/d/1V27q30H-pQZVbzHCJjdFThBSeu...
This is a reland of https://codereview.chromium.org/2309963002
with fixes for when the baseComputedStyle optimisation is active.
The revert was due to crbug.com/669790 where behaviour differs
depending on whether asserts are enabled, thus none of the try
bots picked up on the bug.
BUG=644148
==========
to
==========
Apply custom property animations
This change enables CSS and Web animations to apply animated
effects on CSS custom properties.
This change involves a restructure of style resolving detailed
in the design doc:
https://docs.google.com/a/chromium.org/document/d/1V27q30H-pQZVbzHCJjdFThBSeu...
This is a reland of https://codereview.chromium.org/2309963002
with fixes for when the baseComputedStyle optimisation is active.
The revert was due to crbug.com/669790 where behaviour differs
depending on whether asserts are enabled, thus none of the try
bots picked up on the bug.
BUG=644148
Committed: https://crrev.com/f9262a06c8d1e0478cbf2cc84a1b29f86d9d89e4
Cr-Commit-Position: refs/heads/master@{#436235}
==========
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/f9262a06c8d1e0478cbf2cc84a1b29f86d9d89e4 Cr-Commit-Position: refs/heads/master@{#436235}
Issue 2532953008: Apply custom property animations
(Closed)
Created 4 years ago by alancutter (OOO until 2018)
Modified 4 years ago
Reviewers: Timothy Loh
Base URL:
Comments: 1