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

Issue 2368013002: [WIP] CSS Motion Path: offset shorthand ready for position and anchor

Created:
4 years, 2 months ago by Eric Willigers
Modified:
4 years, 2 months ago
Reviewers:
CC:
chromium-reviews, blink-reviews-style_chromium.org, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CSS Motion Path: offset shorthand ready for position and anchor (Postponing this CL as it may not be safe to add offset-position and offset-anchor to shorthand while they are guarded by a feature flag.) The spec for offset is being discussed in https://drafts.fxtf.org/motion-1/#offset-shorthand https://logs.csswg.org/irc.w3.org/css/2016-09-20/#e724237 https://github.com/w3c/fxtf-drafts/issues/42 https://logs.csswg.org/irc.w3.org/css/2016-09-20/#e724237 RESOLVED: Position before path before distance and anchor Spec update pull request: https://github.com/w3c/fxtf-drafts/pull/52 offset-position and offset-anchor are guarded by the experimental web platform feature flag CSSOffsetPositionAnchor. When this flag is not enabled, we reject any offset value that would set offset-position or offset-anchor. (We about to ship offset support for offset-path, offset-distance, offset-rotation. Any 'auto' or distance appearing in offset before offset-path must not be interpreted as offset-rotation or offset-distance, as in future they will be interpreted as offset-position.) BUG=638055

Patch Set 1 #

Patch Set 2 : tests #

Patch Set 3 : offset-anchor default is not auto #

Total comments: 15

Patch Set 4 : code review feedback #

Messages

Total messages: 23 (17 generated)
Eric Willigers
4 years, 2 months ago (2016-09-26 03:38:58 UTC) #16
Timothy Loh
What's the timeline/plan for shipping offset, and the new properties? I'm not sure that having ...
4 years, 2 months ago (2016-09-27 08:17:48 UTC) #17
Timothy Loh
https://codereview.chromium.org/2368013002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2368013002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode1324 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:1324: if (!offsetPath && (!offsetPosition || !offsetPosition->isValuePair())) On 2016/09/27 08:17:48, ...
4 years, 2 months ago (2016-09-27 08:20:47 UTC) #18
Eric Willigers
On 2016/09/27 08:17:48, Timothy Loh wrote: > What's the timeline/plan for shipping offset, and the ...
4 years, 2 months ago (2016-09-29 03:52:46 UTC) #19
Eric Willigers
https://codereview.chromium.org/2368013002/diff/40001/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h File third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h (right): https://codereview.chromium.org/2368013002/diff/40001/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h#newcode39 third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h:39: static CSSValue* valueForOffset(const ComputedStyle&); On 2016/09/27 08:17:48, Timothy Loh ...
4 years, 2 months ago (2016-09-29 03:53:19 UTC) #20
Timothy Loh
4 years, 2 months ago (2016-09-29 04:03:27 UTC) #21
The description should probably explicitly state what grammar you're
implementing since it's not obvious from the irc log you linked (I thought it
was <offset-position>? [ <offset-path> [ <offset-rotation> || <offset-distance>
] [ / <offset-anchor> ]? ])

Powered by Google App Engine
This is Rietveld 408576698