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

Issue 2895283004: Replace AnimatableValues with ComputedStyle references for CSS Transitions (Closed)

Created:
3 years, 7 months ago by alancutter (OOO until 2018)
Modified:
3 years, 7 months ago
Reviewers:
Eric Willigers
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, Eric Willigers, rjwright, rwlbuis, shans
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace AnimatableValues with ComputedStyle references for CSS Transitions This change replaces AnimatableValues with ComputedStyle references in our CSS Transition data. This data is used for detecting and processing reversed transitions, see spec for further detail: https://drafts.csswg.org/css-transitions/#transition-reversing-adjusted-start-value By replacing AnimatableValues we remove the dependency on the vast majority of AnimatableValue types. This will allow us to remove large portions of the class hierarchy. Design doc: https://docs.google.com/document/d/1cvuLElVHaeM9YvqxoedcdilPD9MVD4EtfNfl9R_rKbk/edit BUG=725385 Review-Url: https://codereview.chromium.org/2895283004 Cr-Commit-Position: refs/heads/master@{#474559} Committed: https://chromium.googlesource.com/chromium/src/+/2bdf1977ad4c41816296f03ddfe9429184b8fd34

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -49 lines) Patch
M third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimations.h View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp View 7 chunks +22 lines, -22 lines 4 comments Download
M third_party/WebKit/Source/core/css/CSSPropertyEquality.h View 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp View 3 chunks +8 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (12 generated)
alancutter (OOO until 2018)
3 years, 7 months ago (2017-05-23 07:00:02 UTC) #5
Eric Willigers
https://codereview.chromium.org/2895283004/diff/1/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp File third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp (right): https://codereview.chromium.org/2895283004/diff/1/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp#newcode794 third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp:794: state.cloned_style = ComputedStyle::Clone(state.style); Why is safe to not always ...
3 years, 7 months ago (2017-05-24 05:43:59 UTC) #9
alancutter (OOO until 2018)
https://codereview.chromium.org/2895283004/diff/1/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp File third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp (right): https://codereview.chromium.org/2895283004/diff/1/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp#newcode794 third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp:794: state.cloned_style = ComputedStyle::Clone(state.style); On 2017/05/24 at 05:43:58, Eric Willigers ...
3 years, 7 months ago (2017-05-24 06:34:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2895283004/1
3 years, 7 months ago (2017-05-24 06:35:32 UTC) #12
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 7 months ago (2017-05-24 06:35:34 UTC) #14
Eric Willigers
lgtm
3 years, 7 months ago (2017-05-25 03:02:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2895283004/1
3 years, 7 months ago (2017-05-25 03:03:39 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 05:13:46 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2bdf1977ad4c41816296f03ddfe9...

Powered by Google App Engine
This is Rietveld 408576698