Re: [csswg-drafts] [css-animations-2] Add animation-trigger for triggering animations when an element is in a timeline's range (#8942)

> One thing I noticed while fiddling with the current grammar is that authors cannot use --timeline normal 100% to declare normal for the default range and 100% for the exit range. They must use --timeline normal normal 100%.
> 
> Perhaps / could be used as a range separator?

Yes! [I noticed too](https://github.com/w3c/csswg-drafts/issues/8942#issuecomment-2063081488).
I think it's reasonable but didn't get formal response to this suggestion.

I think we also have an issue of `auto` both as `timeline` and `exit-range` values. Need to define how these are resolved as well. So either another possible usage for `/` or perhaps make `auto` for `exit-range` unspecifiable? Or something else?

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


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

Received on Thursday, 6 February 2025 16:14:53 UTC