[motion-1] Ship motion-path
Categories
(Core :: CSS Transitions and Animations, enhancement, P2)
Tracking
()
People
(Reporter: boris, Assigned: boris)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed)
Attachments
(2 files)
This includes the properties and values we have implemented:
offset-path: none|path()
offset-distance
offset-rotate
offset-anchor
offset
shorthand
Note: offset-position
is not implemented yet. We intentionally partially ship these properties to match Blink.
Updated: drop ray() because its spec issues haven't been resolved.
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Note for me: we should add a pref for ray function and don't ship it for now because there are still some critical spec issues about ray().
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
We are ready to ship. I will disable ray()
and turn the pref on for release/beta.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
I think it's worth having a bug blocking motion-1
on file to ship ray()
. (Maybe also a bug for the other parts of offset-path
that we don't implement, and a bug for offset-position
.
Are there bugs on file for the cases in https://wpt.fyi/results/css/motion where we fail tests that Chromium passes?
Comment 6•4 years ago
|
||
(In reply to David Baron :dbaron: 🏴 ⌚UTC-8 from comment #5)
Are there bugs on file for the cases in https://wpt.fyi/results/css/motion where we fail tests that Chromium passes?
I think the only one that's concerning is http://w3c-test.org/css/motion/offset-path-serialization.html .
(I think the Edge running there is more representative than the Chrome, since I think the Chrome there has experimental web platform features enabled.)
Assignee | ||
Comment 7•4 years ago
|
||
(In reply to David Baron :dbaron: 🏴 ⌚UTC-8 from comment #6)
(In reply to David Baron :dbaron: 🏴 ⌚UTC-8 from comment #5)
Are there bugs on file for the cases in https://wpt.fyi/results/css/motion where we fail tests that Chromium passes?
I think the only one that's concerning is http://w3c-test.org/css/motion/offset-path-serialization.html .
About the serialization of offset-path:path()
, there is a spec issue for this: https://github.com/w3c/svgwg/issues/321:
We normalize the SVG path at animation time, instead of computed time. Its gecko bug is Bug 1489392. That's why we didn't pass the serialization of the computed value. It seems there is no conclusion in the spec issue, so we still use "as specified value" for the computed value of offset-path.
Assignee | ||
Comment 8•4 years ago
|
||
(In reply to David Baron :dbaron: 🏴 ⌚UTC-8 from comment #5)
I think it's worth having a bug blocking
motion-1
on file to shipray()
. (Maybe also a bug for the other parts ofoffset-path
that we don't implement, and a bug foroffset-position
.
I filed some bugs blocking motion-1
for these. They should all of the properties & values and the shipment. Thanks for the reminder.
Pushed by bchiou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/683152ca004c Add a preference for offset-path:ray(). r=emilio https://hg.mozilla.org/integration/autoland/rev/43ce89f91487 Ship motion-path without offset-path:ray(). r=hiro
Comment 10•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/683152ca004c
https://hg.mozilla.org/mozilla-central/rev/43ce89f91487
Comment 11•4 years ago
|
||
[Why is this notable]: I think this deserves developer facing release notes as it's a new CSS feature and has been implemented already by Chrome.
[Suggested wording]: Firefox 72 implements 'Motion paths', which allow authors to animate elements along an author-specified path.
[Links (documentation, blog post, etc)]: spec https://drafts.fxtf.org/motion-1/
Comment 13•4 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #12)
AFAIK dev-doc-needed covers the developer-facing release notes on MDN.
That's correct, though it may also be mentioned in the "Developer" section of the release notes.
Sebastian
Description
•