w3c / w3c/csswg-drafts

[web-animations-1] Use cases for `timeline` being writable

Open
#3,759 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

web-animations-1
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

Currently, an Animation's timeline member is writable: https://drafts.csswg.org/web-animations-1/#the-animation-interface

I was wondering what the use cases were for replacing a timeline on an Animation. This came up in the context of https://github.com/WICG/scroll-animations/issues/44 - I'm not committing to any particular thought on that issue at the current time, but it would be a simpler world if timeline were readonly.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Web Animations 1 Animation interface section linked in the issue, then read the related Scroll Animations issue. Investigate use cases for replacing an Animation timeline and record a resolved decision about whether timeline should remain writable or become readonly.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.