Contact email
Spec
No TAG review yet.
Summary
Motion paths allow authors to animate elements along an author-specified path.
Motion path animation provides an easy way for authors to declaratively specify animation of an element along a sequence of lines, arcs or splines. This is a CSS equivalent to the animateMotion tag, but for all HTML and SVG elements. (animateMotion only works with SVG elements, and only in browsers that support SMIL.)
The following CSS properties are implemented and proposed for shipping:
motion-path: none | path(<string>)
motion-offset: <length> | <percentage>
motion-rotation: [ auto | reverse ] && <angle>
motion: <motion-path> && <motion-offset> && <motion-rotation>
When the motion-offset property is animated, for example using Web Animations, the element moves along the path.
When motion-rotation is 'auto' (the default), the element automatically rotates as it follows the path.
The following motion-path options from the spec are not implemented or proposing for shipping at this time: <url> , <basic-shape> , <geometry-box> , path <fill-rule>
Link to “Intent to Implement” blink-dev discussion
Intent to Implement: CSS Motion Path
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Demos
Debuggability
CSS property values are displayed in DevTools, and can be edited.
Compatibility Risk
This is a new feature and Blink will be the first rendering engine to enable it. We believe this feature to be stable and a sensible addition to the web platform, but as the first to ship are willing to accept the risk that the final form may change. The small surface area helps mitigate this risk.
The motion path proposal has been positively received by the CSS and SVG Working Groups - see minutes:
http://lists.w3.org/Archives/Public/www-style/2014Oct/0261.html
http://lists.w3.org/Archives/Public/www-style/2014Oct/0287.html
RESOLVED: joint publish CSS motion paths with SVG WG
https://lists.w3.org/Archives/Public/www-style/2015Apr/0144.html
RESOLVED: Motion Path FPWD granted
https://lists.w3.org/Archives/Public/www-svg/2015Feb/0033.html
RESOLUTION: We agree on a FPWD of Motion Path Module Level 1.
https://lists.w3.org/Archives/Public/public-svg-wg/2015AprJun/0002.html
OWP launch tracking bug?
Entry on the feature dashboard
https://www.chromestatus.com/feature/6190642178818048
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
No TAG review yet.