- From: Yehonatan Daniv via GitHub <sysbot+gh@w3.org>
- Date: Thu, 18 Apr 2024 06:17:07 +0000
- To: public-css-archive@w3.org
@flackr I think we have a small issue with the ranges syntax. Take a look at the following example:
```css
#target {
animation-trigger: repeat view() contain cover;
}
```
In the above the `contain cover` part will resolve to the `contain 0% cover 100%` of the default range, with the exit range defaulting to the same range.
But the intent could also be to resolve to `contain 0% 100% cover 0% 100%`.
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`.
--
GitHub Notification of comment by ydaniv
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8942#issuecomment-2063081488 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 18 April 2024 06:17:08 UTC