Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Issue 1640643002: Add additive animation support for CSS property clip (Closed)

Created:
4 years, 11 months ago by alancutter (OOO until 2018)
Modified:
4 years, 10 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@_propertyInterpolationTypesMapping
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add additive animation support for CSS property clip This patch adds support for composite modes on clip CSS animations via element.animate(). This also changes clip to be more strict about when it permits smooth interpolation between values. Previously "rect(100px, auto, auto, auto)" would smoothly interpolate with "rect(200px, 100px, auto, auto)". Now these values will 50% flip as their distribution of auto keywords do not line up. This behaviour matches Firefox. BUG=437696 Committed: https://crrev.com/3106ad7791c2a9bc05d0a38384dafb9f9342986c Cr-Commit-Position: refs/heads/master@{#376115}

Patch Set 1 #

Patch Set 2 : Moar tests #

Total comments: 4

Patch Set 3 : Review changes #

Patch Set 4 : Fix up existing tests #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+488 lines, -214 lines) Patch
A third_party/WebKit/LayoutTests/animations/composition/clip-composition.html View 1 2 1 chunk +88 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/animations/interpolation/border-image-width-interpolation.html View 1 2 3 3 chunks +14 lines, -60 lines 0 comments Download
M third_party/WebKit/LayoutTests/animations/interpolation/border-image-width-interpolation-expected.txt View 1 2 3 8 chunks +36 lines, -30 lines 0 comments Download
M third_party/WebKit/LayoutTests/animations/interpolation/clip-interpolation.html View 1 chunk +4 lines, -18 lines 0 comments Download
D third_party/WebKit/LayoutTests/animations/interpolation/webkit-mask-box-image-width-interpolation-expected.txt View 1 2 3 1 chunk +0 lines, -96 lines 0 comments Download
A third_party/WebKit/LayoutTests/animations/responsive/clip-responsive.html View 1 1 chunk +53 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/core/animation/CSSClipInterpolationType.h View 1 chunk +12 lines, -10 lines 0 comments Download
A third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp View 1 2 1 chunk +265 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBox.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBox.cpp View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (13 generated)
alancutter (OOO until 2018)
4 years, 11 months ago (2016-01-27 23:52:12 UTC) #3
alancutter (OOO until 2018)
+ericwilligers for core/animation changes.
4 years, 10 months ago (2016-02-17 05:56:50 UTC) #6
Eric Willigers
lgtm https://codereview.chromium.org/1640643002/diff/20001/third_party/WebKit/LayoutTests/animations/composition/clip-composition.html File third_party/WebKit/LayoutTests/animations/composition/clip-composition.html (right): https://codereview.chromium.org/1640643002/diff/20001/third_party/WebKit/LayoutTests/animations/composition/clip-composition.html#newcode7 third_party/WebKit/LayoutTests/animations/composition/clip-composition.html:7: underlying: 'rect(50px 50px 50px 50px)', Can we have ...
4 years, 10 months ago (2016-02-17 12:09:53 UTC) #7
alancutter (OOO until 2018)
+dstockwell for core.gypi changes. https://codereview.chromium.org/1640643002/diff/20001/third_party/WebKit/LayoutTests/animations/composition/clip-composition.html File third_party/WebKit/LayoutTests/animations/composition/clip-composition.html (right): https://codereview.chromium.org/1640643002/diff/20001/third_party/WebKit/LayoutTests/animations/composition/clip-composition.html#newcode7 third_party/WebKit/LayoutTests/animations/composition/clip-composition.html:7: underlying: 'rect(50px 50px 50px 50px)', ...
4 years, 10 months ago (2016-02-17 23:44:34 UTC) #8
dstockwell
lgtm
4 years, 10 months ago (2016-02-18 02:58:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640643002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640643002/40001
4 years, 10 months ago (2016-02-18 03:57:20 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/181723)
4 years, 10 months ago (2016-02-18 04:36:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640643002/60001
4 years, 10 months ago (2016-02-18 06:00:42 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/132470) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 10 months ago (2016-02-18 06:03:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640643002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640643002/80001
4 years, 10 months ago (2016-02-18 06:05:13 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-18 07:36:48 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 07:38:09 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3106ad7791c2a9bc05d0a38384dafb9f9342986c
Cr-Commit-Position: refs/heads/master@{#376115}

Powered by Google App Engine
This is Rietveld 408576698