Skip to content

[web-animations-1][animation-triggers-1] Move AnimationTrigger details#14043

Open
DavMila wants to merge 2 commits into
w3c:mainfrom
DavMila:animation-trigger-move
Open

[web-animations-1][animation-triggers-1] Move AnimationTrigger details#14043
DavMila wants to merge 2 commits into
w3c:mainfrom
DavMila:animation-trigger-move

Conversation

@DavMila

@DavMila DavMila commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

This moves the details of AnimationTrigger from web-animations-2 to the animation-triggers-1 spec.

This is mostly a copy-paste of the content from web-animations-2, with
a few adjustments:

  • Drops the Animation frame loop update portion
  • Drops the Animation mixin interface update portions
  • Drops the KeyframeAnimationOptions 'trigger' addition
    (these were structured as ammendments to web-animations-2 but are no
    longer relevant anyway.)
  • Adjusts the level of some headings so bikeshed is happy.
DavMila added 2 commits June 10, 2026 15:57
This adds missing </dfn> and </div> tags.
This moves the details of AnimationTrigger to the animation-triggers-1
spec.

This is mostly a copy-paste of the content from web-animations-2, with
a few adjustments:

- Drops the Animation frame loop update portion
- Drops the Animation mixin interface update portions
- Drops the KeyframeAnimationOptions 'trigger' addition
(these were structured as ammendments to web-animations-1 but are no
longer relevant anyway.)
- Adjusts the level of some headings so bikeshed is happy.
@DavMila DavMila requested a review from flackr June 12, 2026 16:21
@ydaniv

ydaniv commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Thanks @DavMila! I have local WIP on this, some of it conflicts. Would you like to merge these somehow?

@ydaniv

ydaniv commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Mostly I'm concerned with trying to keep the Trigger definition generic, and describe how it interacts specifically with animations.

@DavMila

DavMila commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Mostly I'm concerned with trying to keep the Trigger definition generic, and describe how it interacts specifically with animations.

Yeah keeping the trigger definition generic makes sense. I think I am trying to do the same thing as you but in 2 phases: move the definition over, then modify the definition. This PR just moves it, this other PR modifies the definition.

@DavMila DavMila requested a review from tabatkins June 18, 2026 12:05
@DavMila

DavMila commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Would you like to merge these somehow?

Realizing I didn't respond to this sorry. Um, yeah we should probably be in sync somehow. This particular PR just doesn't really change any of the content, though. Would you have any thoughts on the PR which is mostly making the AnimationTrigger generic?

@ydaniv

ydaniv commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Would you like to merge these somehow?

Realizing I didn't respond to this sorry. Um, yeah we should probably be in sync somehow. This particular PR just doesn't really change any of the content, though.

OK, I'll respond on the second one.

Would you have any thoughts on the #14044 which is mostly making the AnimationTrigger generic?

Yes, but I guess I should add it there. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants