Re: [csswg-drafts] [css-animations] How should relative-length values be interpreted when used in the <keyframe-selector> production in the @keyframes prelude? (#10880)

> First sort by specified order and then sort again by resolving offsets?

The [computed order](https://drafts.csswg.org/css-animations-2/#computed-keyframe-order) returned by getKeyframes does not sort by resolved offsets, this is the one I was talking about when I said keep them in specified order.

We would still sort by resolved offset for the [used order](https://drafts.csswg.org/css-animations-2/#used-keyframe-order) for interpolation - though if I had a time machine I might revisit that since I think developers will be confused when their keyframes don't occur in the order the expected.

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


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

Received on Thursday, 30 January 2025 20:35:44 UTC