Summary: Scroll-linked animations are a way for web developers to write web animations whose progress is linked to scrolling rather than to time. ScrollTimeline is the JS API for creating scroll-linked animations (the spec also contains a CSS API, which will be implemented at a later time).
Bug: Tracking bug for scroll-linked animations: bug 1281348 [1] Tracking bug for the initial landing of ScrollTimeline: bug 1321428 [2] Link to standard: https://wicg.github.io/scroll-animations/ This spec is fairly unstable for the time being, and is likely to undergo significant changes before final standardization. However, I believe the core mechanism that I'm proposing to implement here is reasonably stable, and web developers will benefit from having it in a Firefox build so they can play around with it. Platform coverage: where will this be available? All platforms. Estimated or target release: Not known yet. Probably not very soon as the spec still needs to stabilize. Preference behind which this will be implemented: dom.animations-api.scroll-driven.enabled Due to the early stage of standardization of this feature, it will initially only be available on Nightly _and_ behind a pref (that is, you need to be running Nightly and have the pref flipped to use it). Is this feature enabled by default in sandboxed iframes? Yes If allowed, does it preserve the current invariants in terms of what sandboxed iframes can do? I believe so, but I'm not an authority on sandboxing. DevTools bug: Bug 1350461 Do other browser engines implement this? Safari has originally proposed the CSS properties that this spec is based on [4], though I'm not aware of recent activity relating to it. Blink has a very similar proposal [5] which we expect will be consolidated into the WICG spec linked above. Tests Currently just layout/reftests/async-scrolling/animation. Bug 1324605 tracks writing web platform tests. Cheers, Botond [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1281348 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1321428 [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1350461 [4] https://lists.w3.org/Archives/Public/www-style/2014Sep/0135.html [5] https://github.com/drufball/generalized-animations [6] https://bugzilla.mozilla.org/show_bug.cgi?id=1324605 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform