- From: Yehonatan Daniv via GitHub <sysbot+gh@w3.org>
- Date: Mon, 17 Mar 2025 17:27:44 +0000
- To: public-css-archive@w3.org
ydaniv has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-animations-2] Add / separator before animation-trigger exit range ==
Animation Triggers allow specifying a default and exit ranges for the specified timeline which currently, in the [`animation-trigger` shorthand](https://drafts.csswg.org/css-animations-2/#animation-trigger), look like 4 (or less) subsequent range definitions.
It was [previously suggested](https://github.com/w3c/csswg-drafts/issues/8942#issuecomment-2063081488) to allow separating these 2 ranges using a `/` to allow specifying the default range with 1 or even 0 values while still be able to unambiguously specify the exit range:
> Should we add a / separator between the two ranges to distinguish them more explicitly?
So it would become:
>
> ```css
> #target {
> animation-trigger: repeat view() contain / cover;
> }
> ```
>
> And if there's no range on the lefthand side it can be computed to normal.
So, proposing to add a `/` in the syntax for the `animation-trigger` shorthand before the `animation-trigger-exit-range` value(s).
/cc @DavMila @flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11948 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 17 March 2025 17:27:45 UTC