Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll-driven Animations #347

Closed
andruud opened this issue May 26, 2020 · 7 comments · Fixed by #978
Closed

Scroll-driven Animations #347

andruud opened this issue May 26, 2020 · 7 comments · Fixed by #978
Labels
position: positive ready to add Appears ready to add to the table of positions. venue: W3C Specifications in W3C Working Groups

Comments

@andruud
Copy link

andruud commented May 26, 2020

Request for Mozilla Position on an Emerging Web Specification

Other information

There appears to be some support for this feature already (given the prior work done on it), but it would good to add an entry for it. Also the spec now contains a declarative API (@scroll-timline etc), which needs evaluation.

(cc @majido, so he knows this exists).

@majido
Copy link

majido commented May 26, 2020

Thanks for filing this. Also cc'ing @heycam and @birtles who perhaps have more recent context on changes to the specification since it was initially produced in collaboration with Mozilla.

@majido
Copy link

majido commented May 26, 2020

Also here is the explainer for this feature which goes in more details on usecases and API choices: https://github.com/w3c/csswg-drafts/blob/master/scroll-animations-1/EXPLAINER.md

@dbaron dbaron added venue: W3C Specifications in W3C Working Groups awaiting feedback Awaiting feedback from other Mozillians (request must have either been emailed or acknowledged) labels Jun 5, 2020
@birtles
Copy link
Member

birtles commented Jun 8, 2020

I'm not a Mozilla employee so these are just my thoughts as the current 'DOM: Animation' module owner and one of the editors of this spec (where my current involvement is focused on reviewing those parts that interact with Web Animations).

I think this should be "worth prototyping" for the following reasons:

  • Mozilla wrote the initial spec (incorporating ideas from a related proposal from Apple-see references below).
  • Mozilla realized the need for this feature based on our experience with Firefox OS (I believe the request for this came from Jonas' team at the time).
  • As a fairly high-level/declarative spec it is expected to provide more avenues for user control (e.g. disabling scroll effects), be accessible to more developers, be more amenable to future optimizations, and impose less restrictions on developments in browser architecture than more low-level/imperative alternatives.
  • We already have some patches for a partial implementation based on an old version of the spec.
  • It integrates with both CSS and Web Animations.
  • It appears to have support from other browser vendors (Google, Microsoft, and Apple are involved).

References for posterity:

@flackr
Copy link

flackr commented Mar 24, 2023

The spec has undergone a fairly radical change with greatly improved css ergonomics with working group resolutions for all of the major decision points. We are down to a very small set of issues remaining being tracked by https://github.com/w3c/csswg-drafts/projects/33. It also looks like there is also an implementation started in https://bugzilla.mozilla.org/show_bug.cgi?id=1676780. Could we get a position?

@BorisChiou
Copy link

BorisChiou commented Mar 25, 2023

Positive position from me, per Brian's comment, and we have been working on its CSS part already.

@SebastianZ
Copy link
Contributor

FWIW, the spec. got renamed to "Scroll-driven Animations". So, when adding it to the dashboard, the entry should use the same terminology.

And, I guess since there's already work for this happening, this can be labelled with "position: positive" and "ready to add".

Sebastian

@zcorpan zcorpan changed the title Scroll-linked Animations Scroll-driven Animations Oct 17, 2023
@zcorpan zcorpan added ready to add Appears ready to add to the table of positions. position: positive and removed awaiting feedback Awaiting feedback from other Mozillians (request must have either been emailed or acknowledged) labels Oct 17, 2023
@zcorpan
Copy link
Member

zcorpan commented Oct 17, 2023

Adjusting labels based on the comments above.

zcorpan added a commit that referenced this issue Jan 30, 2024
tantek pushed a commit that referenced this issue Feb 1, 2024
* Add Scroll-driven animations (positive)

Closes #347

* Apply suggestions from code review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
position: positive ready to add Appears ready to add to the table of positions. venue: W3C Specifications in W3C Working Groups
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants