Re: [csswg-drafts] [web-animations-2] Propose a new timing option `align` to replace `SequenceEffect` (#9557)

This is a good idea. It's more consistent with CSS behavior and I think that anything makes our animation properties/APIs feel more like temporal layout ("flexbox for time") is probably a good step towards creating a more coherent platform.

For what it's worth, I think we arrived at the current API design due to following the precedent of other animation APIs like SMIL (which has `<par>` and `<seq>` elements) and QML (see [wiki](https://www.w3.org/Graphics/fx/wiki/Web_Animations/API_Comparison)). I agree we should make the JS API match what we do in CSS and drop the separate `SequenceEffect` class.

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9557#issuecomment-1793973375 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 6 November 2023 02:12:38 UTC