- From: Antoine Quint via GitHub <sysbot+gh@w3.org>
- Date: Fri, 10 Jan 2025 16:43:08 +0000
- To: public-css-archive@w3.org
graouts has just created a new issue for https://github.com/w3c/csswg-drafts: == [scroll-animations] `ViewTimelineOptions.inset` should use `CSSKeywordish` == The [`inset`](https://drafts.csswg.org/scroll-animations-1/#dom-viewtimelineoptions-inset) property of the [`ViewTimelineOptions`](https://drafts.csswg.org/scroll-animations-1/#dictdef-viewtimelineoptions) is currently defined as `(DOMString or sequence<(CSSNumericValue or CSSKeywordValue)>) inset = "auto";`. This means that setting that value to `"auto"` is valid but not setting it to `["auto", "auto"]`. I suggest we use [`CSSKeywordish`](https://drafts.css-houdini.org/css-typed-om-1/#typedefdef-csskeywordish) instead of [`CSSKeywordValue`](https://drafts.css-houdini.org/css-typed-om-1/#csskeywordvalue) so that strings can be used as well as `CSSKeywordValue`. As it turns out, this is already what is being tested in [scroll-animations/view-timelines/view-timeline-inset.html](https://github.com/web-platform-tests/wpt/blob/038c19b8529b374bb40b6b01cf062577f0dc39dc/scroll-animations/view-timelines/view-timeline-inset.html#L112) and what Chromes implements. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11477 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 January 2025 16:43:09 UTC