[csswg-drafts] [scroll-animations] should `ViewTimeline.startOffset` and `ViewTimeline.endOffset` be `CSSNumericValue?` (#11707)

graouts has just created a new issue for https://github.com/w3c/csswg-drafts:

== [scroll-animations] should `ViewTimeline.startOffset` and `ViewTimeline.endOffset` be `CSSNumericValue?` ==
The [definition of the `ViewTimeline` interface](https://drafts.csswg.org/scroll-animations-1/#viewtimeline-interface) currently has these two members:

```
readonly attribute CSSNumericValue startOffset;
readonly attribute CSSNumericValue endOffset;
```

The prose for both members states that they are "null when the timeline is inactive." Should the IDL definition then use `CSSNumericValue?`?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11707 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 14 February 2025 10:14:09 UTC