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

I agree, measuring the font size against the animating element makes sense. It might be a bit confusing that percentages in this context are not lengths, but otherwise seems fine as long as the result is a percentage since the step of processing keyframes rules occurs at the point where we have a known target element.

How does accepting this affect how [keyframes are sorted](https://drafts.csswg.org/css-animations-2/#keyframe-processing)? Are they kept in specified order like those with a range name specified or do we compute the result and sort? I think we probably want to keep them in specified order and definitely not merge blocks that currently compute to the same offset.

How about [ignoring of keyframes outside of 0 - 100%](https://drafts.csswg.org/css-animations-1/#keyframes)? I assume we should follow the pattern established for range based keyframes where we keep them and include them in interpolation?

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


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

Received on Tuesday, 10 December 2024 20:46:39 UTC