w3c / w3c/csswg-drafts

[web-animations-2] Throw at "If valid seek time is false, abort this procedure."?

Open Beginner friendly
#13,985 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In the procedure to silently set the current time of an animation, step 3 says:

If valid seek time is false, abort this procedure.

It does not say to throw a TypeError, unlike the prior step. It seems strange that we just silently abort in this case. If that's deliberate for some reason, maybe add a "(without throwing an exception)" parenthetical?

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

Read the “procedure to silently set the current time of an animation” in the Web Animations 2 specification, especially step 3 and the preceding step. Confirm whether an invalid seek time should silently abort or throw a TypeError, then update the procedure wording so the intended behavior is explicit.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.