- From: Antoine Quint via GitHub <sysbot+gh@w3.org>
- Date: Thu, 09 Nov 2023 19:21:47 +0000
- To: public-css-archive@w3.org
graouts has just created a new issue for https://github.com/w3c/csswg-drafts:
== [scroll-animations-1] should `ViewTimelineOptions.subject` be `required`? ==
While reviewing an [early patch](https://github.com/WebKit/WebKit/pull/20245) for `ViewTimeline` and `ViewTimelineOptions` in WebKit, a question about the spec [came up](https://github.com/WebKit/WebKit/pull/20245#discussion_r1388371890):
> I suspect the spec intended this dictionary member to be marked as `required` since it is not nullable and the corresponding attribute on the interface is not nullable either. May be worth filing an issue against the spec.
Should the `ViewTimelineOptions` be specified as follows?
```idl
dictionary ViewTimelineOptions {
  required Element subject;
  ScrollAxis axis = "block";
  (DOMString or sequence<(CSSNumericValue or CSSKeywordValue)>) inset = "auto";
};
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9584 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 9 November 2023 19:21:49 UTC