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

Issue 2241993002: CSS Motion Path: New names for properties (Closed)

Created:
4 years, 4 months ago by Eric Willigers
Modified:
4 years, 3 months ago
CC:
darktears, apavlov+blink_chromium.org, asvitkine+watch_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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CSS Motion Path: New names for properties The CSS property names for Motion Path properties have changed. Recent spec update: https://drafts.fxtf.org/motion-1/ https://github.com/w3c/fxtf-drafts/pull/14 As we already shipped with the earlier names, we alias them to the new names. motion-offset -> offset-distance motion-path -> offset-path motion-rotation -> offset-rotation motion -> offset Intent To Ship https://groups.google.com/a/chromium.org/d/msg/blink-dev/o1C5NzGf9Q0/sbaLF1MbAgAJ This patch doesn't include deprecation warnings for the old names, or the extra use counter for not-none motion-path discussed in the Intent To Ship. This patch also doesn't include any of the additional options the spec provides for offset-path (<angle> [contain]) or offset-distance (closest-side / farthest-side / closest-corner / farthest-corner). (They will be implemented behind a flag, for a future Intent to Ship.) BUG=637543 Committed: https://crrev.com/ba9dc4f32ee4a0a29ab99be8274e2605998d14b1 Cr-Commit-Position: refs/heads/master@{#419710}

Patch Set 1 : DCHECK #

Patch Set 2 : StyleOffsetRotation #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Total comments: 18

Patch Set 5 : review comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+551 lines, -481 lines) Patch
A + third_party/WebKit/LayoutTests/animations/composition/offset-distance-composition.html View 4 chunks +4 lines, -4 lines 0 comments Download
A + third_party/WebKit/LayoutTests/animations/composition/offset-rotation-composition.html View 6 chunks +6 lines, -6 lines 0 comments Download
A + third_party/WebKit/LayoutTests/animations/interpolation/offset-distance-interpolation.html View 7 chunks +9 lines, -9 lines 0 comments Download
A + third_party/WebKit/LayoutTests/animations/interpolation/offset-rotation-interpolation.html View 10 chunks +13 lines, -13 lines 0 comments Download
A + third_party/WebKit/LayoutTests/animations/responsive/offset-rotation-responsive.html View 2 chunks +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/css3/motion-path/combine-motion-translation-and-rotation.html View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/LayoutTests/css3/motion-path/combine-motion-translation-and-rotation-expected.html View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/LayoutTests/css3/motion-path/combine-offset-translation-and-rotation.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/css3/motion-path/combine-offset-translation-and-rotation-expected.html View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/LayoutTests/css3/motion-path/combine-rotation.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/css3/motion-path/combine-translation.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/css3/motion-path/combine-translation-and-rotation.html View 1 2 1 chunk +0 lines, -19 lines 0 comments Download
D third_party/WebKit/LayoutTests/css3/motion-path/combine-translation-and-rotation-expected.html View 1 2 1 chunk +0 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/css3/motion-path/compute-distance.html View 1 chunk +14 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/css3/motion-path/motion-rotation-overflow-crash.html View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/css3/motion-path/offset.html View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/css3/motion-path/offset-distance.html View 1 chunk +71 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/css3/motion-path/offset-path.html View 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/css3/motion-path/offset-rotation.html View 1 chunk +96 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html View 1 chunk +2 lines, -2 lines 2 comments Download
M third_party/WebKit/LayoutTests/css3/motion-path/zero-length.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-listing-expected.txt View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-listing-expected.txt View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/fast/css/getComputedStyle/computed-style-listing-expected.txt View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/fast/css/getComputedStyle/computed-style-without-renderer-listing-expected.txt View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/svg/css/getComputedStyle-listing-expected.txt View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/virtual/stable/webexposed/css-properties-as-js-properties-expected.txt View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/android/webexposed/css-properties-as-js-properties-expected.txt View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/css/getComputedStyle-listing-expected.txt View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/css-properties-as-js-properties-expected.txt View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/css-properties-as-js-properties-expected.txt View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/BUILD.gn View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.h View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp View 1 1 chunk +0 lines, -147 lines 0 comments Download
A + third_party/WebKit/Source/core/animation/CSSOffsetRotationInterpolationType.h View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
A + third_party/WebKit/Source/core/animation/CSSOffsetRotationInterpolationType.cpp View 1 2 2 chunks +42 lines, -42 lines 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffect.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.in View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 1 2 3 4 1 chunk +10 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/css/StylePropertySerializer.cpp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 3 chunks +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.cpp View 1 2 3 3 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/BUILD.gn View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 4 5 chunks +18 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/StyleMotionData.h View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleMotionData.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
D third_party/WebKit/Source/core/style/StyleMotionRotation.h View 1 1 chunk +0 lines, -31 lines 0 comments Download
A + third_party/WebKit/Source/core/style/StyleOffsetRotation.h View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleTransformData.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 3 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 56 (33 generated)
Eric Willigers
4 years, 3 months ago (2016-09-16 06:36:45 UTC) #17
alancutter (OOO until 2018)
https://codereview.chromium.org/2241993002/diff/80001/third_party/WebKit/LayoutTests/css3/motion-path/offset.html File third_party/WebKit/LayoutTests/css3/motion-path/offset.html (right): https://codereview.chromium.org/2241993002/diff/80001/third_party/WebKit/LayoutTests/css3/motion-path/offset.html#newcode15 third_party/WebKit/LayoutTests/css3/motion-path/offset.html:15: } These tests would be easier to read if ...
4 years, 3 months ago (2016-09-19 00:49:54 UTC) #21
suzyh_UTC10 (ex-contributor)
For future: I would recommend making separate patches for the user-visible change (the addition of ...
4 years, 3 months ago (2016-09-19 01:21:04 UTC) #22
Eric Willigers
I changed the following files in response to review comments: ComputedStyleCSSValueMapping.cpp ComputedStyle.cpp ComputedStyle.h StyleMotionData.h https://codereview.chromium.org/2241993002/diff/80001/third_party/WebKit/LayoutTests/css3/motion-path/offset.html ...
4 years, 3 months ago (2016-09-19 01:54:41 UTC) #23
suzyh_UTC10 (ex-contributor)
https://codereview.chromium.org/2241993002/diff/80001/third_party/WebKit/LayoutTests/css3/motion-path/offset.html File third_party/WebKit/LayoutTests/css3/motion-path/offset.html (right): https://codereview.chromium.org/2241993002/diff/80001/third_party/WebKit/LayoutTests/css3/motion-path/offset.html#newcode1 third_party/WebKit/LayoutTests/css3/motion-path/offset.html:1: <!DOCTYPE html> On 2016/09/19 at 01:54:40, Eric Willigers wrote: ...
4 years, 3 months ago (2016-09-19 03:32:30 UTC) #24
alancutter (OOO until 2018)
https://codereview.chromium.org/2241993002/diff/80001/third_party/WebKit/LayoutTests/css3/motion-path/offset.html File third_party/WebKit/LayoutTests/css3/motion-path/offset.html (right): https://codereview.chromium.org/2241993002/diff/80001/third_party/WebKit/LayoutTests/css3/motion-path/offset.html#newcode15 third_party/WebKit/LayoutTests/css3/motion-path/offset.html:15: } On 2016/09/19 at 01:54:40, Eric Willigers wrote: > ...
4 years, 3 months ago (2016-09-19 04:20:02 UTC) #25
Eric Willigers
https://codereview.chromium.org/2241993002/diff/80001/third_party/WebKit/Source/core/css/CSSProperties.in File third_party/WebKit/Source/core/css/CSSProperties.in (right): https://codereview.chromium.org/2241993002/diff/80001/third_party/WebKit/Source/core/css/CSSProperties.in#newcode504 third_party/WebKit/Source/core/css/CSSProperties.in:504: motion longhands=offset-path;offset-distance;offset-rotation On 2016/09/19 03:32:30, suzyh wrote: > On ...
4 years, 3 months ago (2016-09-19 04:46:14 UTC) #26
suzyh_UTC10 (ex-contributor)
lgtm, thanks
4 years, 3 months ago (2016-09-19 05:19:38 UTC) #27
alancutter (OOO until 2018)
lgtm
4 years, 3 months ago (2016-09-19 05:33:58 UTC) #28
Eric Willigers
+ sigbjornf@opera.com for core/frame OWNERS + jochen@chromium.org for UseCounter histogram OWNERS
4 years, 3 months ago (2016-09-19 05:59:06 UTC) #30
jochen (gone - plz use gerrit)
as you're changing histograms and not just adding, I'll defer to an actual metrics owner, ...
4 years, 3 months ago (2016-09-19 14:29:44 UTC) #31
Eric Willigers
+mpearson for tools/metrics OWNERS
4 years, 3 months ago (2016-09-19 19:07:00 UTC) #33
Mark P
histograms.xml lgtm
4 years, 3 months ago (2016-09-19 19:36:19 UTC) #34
Eric Willigers
4 years, 3 months ago (2016-09-20 01:34:07 UTC) #36
sashab
In future, when most of a patch is find-and-replace, maybe mention that somewhere :) I ...
4 years, 3 months ago (2016-09-20 04:42:20 UTC) #38
dstockwell
lgtm
4 years, 3 months ago (2016-09-20 04:43:48 UTC) #39
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/2241993002/100001
4 years, 3 months ago (2016-09-20 06:28:40 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/262692)
4 years, 3 months ago (2016-09-20 06:37:57 UTC) #47
Eric Willigers
+jochen for API_OWNERS
4 years, 3 months ago (2016-09-20 06:47:34 UTC) #49
jochen (gone - plz use gerrit)
lgtm
4 years, 3 months ago (2016-09-20 09:42:00 UTC) #50
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/2241993002/100001
4 years, 3 months ago (2016-09-20 09:51:28 UTC) #52
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 3 months ago (2016-09-20 09:57:35 UTC) #54
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 09:59:07 UTC) #56
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ba9dc4f32ee4a0a29ab99be8274e2605998d14b1
Cr-Commit-Position: refs/heads/master@{#419710}

Powered by Google App Engine
This is Rietveld 408576698