- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Thu, 02 Mar 2023 20:57:41 +0000
- To: public-css-archive@w3.org
SebastianZ has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-animations-2][scroll-animations-1] Is `view()` meant to allow multiple `view-timeline-inset` values? == The syntax of the `view()` function allows [`<'view-timeline-inset'>`](https://drafts.csswg.org/scroll-animations-1/#propdef-view-timeline-inset) values. And the syntax for `view-timeline-inset` is defined as a comma-separated list of values. So, as it stands, the syntax currently allows values like `view(block 100px 200px, 10% 20%)`. I assume `view()` was intended to only take _one_ set of view timeline insets. Correct? If so, this could be solved by introducing a new `<single-view-timeline-inset>` data type that refers to `[ auto | <length-percentage> ]{1,2}`. And that data type could then be used for `view-timeline-inset` as `<single-view-timeline-inset>#` and for `<view()>` as `view( [ <axis> || <single-view-timeline-inset> ]? )`. Sebastian Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8519 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 2 March 2023 20:57:42 UTC