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

Issue 2881673003: CSS Motion Path: Support parsing of ray(<angle>) paths (Closed)

Created:
3 years, 7 months ago by Eric Willigers
Modified:
3 years, 7 months ago
Reviewers:
pdr., fs
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

CSS Motion Path: Support parsing of ray(<angle>) paths Spec: https://drafts.fxtf.org/motion-1/ offset-path can be ray(<angle> && <size> && contain?) Intent To Implement: https://groups.google.com/a/chromium.org/d/msg/blink-dev/uqDmsIj6zJY/cS-Vp_XG2oYJ BUG=641245 Review-Url: https://codereview.chromium.org/2881673003 Cr-Commit-Position: refs/heads/master@{#471987} Committed: https://chromium.googlesource.com/chromium/src/+/2319cee58d13a3ab8d876c263fc130b2405f725b

Patch Set 1 #

Patch Set 2 : size contain? #

Total comments: 24

Patch Set 3 : CSS values in BasicShapeFunctions not StyleRay #

Total comments: 6

Patch Set 4 : DCHECK_EQ #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -17 lines) Patch
A third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html View 1 2 1 chunk +22 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/core/css/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp View 1 2 3 chunks +56 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 1 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/css/CSSRayValue.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/css/CSSRayValue.cpp View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSValue.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSValue.cpp View 5 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSValueKeywords.json5 View 1 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp View 1 2 3 2 chunks +45 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp View 1 2 3 3 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/BasicShapes.h View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleMotionData.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/StylePath.h View 4 chunks +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/StylePath.cpp View 1 2 1 chunk +15 lines, -1 line 0 comments Download
A third_party/WebKit/Source/core/style/StyleRay.h View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/style/StyleRay.cpp View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (25 generated)
fs
https://codereview.chromium.org/2881673003/diff/60001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html File third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html (right): https://codereview.chromium.org/2881673003/diff/60001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html#newcode15 third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html:15: assert_valid_value("offset-path", "ray(400grad farthest-corner contain)"); Maybe add a test with ...
3 years, 7 months ago (2017-05-15 09:18:15 UTC) #15
Eric Willigers
https://codereview.chromium.org/2881673003/diff/60001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html File third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html (right): https://codereview.chromium.org/2881673003/diff/60001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html#newcode15 third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html:15: assert_valid_value("offset-path", "ray(400grad farthest-corner contain)"); On 2017/05/15 09:18:14, fs wrote: ...
3 years, 7 months ago (2017-05-15 10:52:23 UTC) #19
fs
lgtm https://codereview.chromium.org/2881673003/diff/80001/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp File third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp (right): https://codereview.chromium.org/2881673003/diff/80001/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp#newcode48 third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp:48: DCHECK(range.Peek().FunctionId() == CSSValueRay); Nit: DCHECK_EQ? https://codereview.chromium.org/2881673003/diff/80001/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp File third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp ...
3 years, 7 months ago (2017-05-15 11:05:39 UTC) #21
Eric Willigers
https://codereview.chromium.org/2881673003/diff/80001/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp File third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp (right): https://codereview.chromium.org/2881673003/diff/80001/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp#newcode48 third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp:48: DCHECK(range.Peek().FunctionId() == CSSValueRay); On 2017/05/15 11:05:39, fs wrote: > ...
3 years, 7 months ago (2017-05-15 11:12:13 UTC) #22
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/2881673003/100001
3 years, 7 months ago (2017-05-15 20:58:15 UTC) #25
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/437378)
3 years, 7 months ago (2017-05-15 21:35:44 UTC) #27
Eric Willigers
+pdr for platform OWNERS
3 years, 7 months ago (2017-05-15 22:35:16 UTC) #29
pdr.
LGTM https://codereview.chromium.org/2881673003/diff/100001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html File third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html (right): https://codereview.chromium.org/2881673003/diff/100001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html#newcode1 third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html:1: <!DOCTYPE html> Should this be a web platform ...
3 years, 7 months ago (2017-05-15 22:37:26 UTC) #30
Eric Willigers
https://codereview.chromium.org/2881673003/diff/100001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html File third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html (right): https://codereview.chromium.org/2881673003/diff/100001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html#newcode1 third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html:1: <!DOCTYPE html> On 2017/05/15 22:37:26, pdr. wrote: > Should ...
3 years, 7 months ago (2017-05-15 23:42:53 UTC) #31
pdr.
On 2017/05/15 at 23:42:53, ericwilligers wrote: > https://codereview.chromium.org/2881673003/diff/100001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html > File third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html (right): > > https://codereview.chromium.org/2881673003/diff/100001/third_party/WebKit/LayoutTests/css-parser/offset-path-parsing.html#newcode1 ...
3 years, 7 months ago (2017-05-15 23:43:28 UTC) #32
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/2881673003/100001
3 years, 7 months ago (2017-05-16 00:03:26 UTC) #34
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 02:30:41 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/2319cee58d13a3ab8d876c263fc1...

Powered by Google App Engine
This is Rietveld 408576698