Re: [csswg-drafts] [scroll-animations] `ScrollTimeline` constructor has contradictory IDL and prose (#11340)

Note that the Web IDL spec says:
> If the type of an argument is a [dictionary type](https://webidl.spec.whatwg.org/#idl-dictionary) or a [union type](https://webidl.spec.whatwg.org/#dfn-union-type) that has a [dictionary type](https://webidl.spec.whatwg.org/#idl-dictionary) as one of its [flattened member types](https://webidl.spec.whatwg.org/#dfn-flattened-union-member-types), and that dictionary type and its ancestors have no [required](https://webidl.spec.whatwg.org/#required-dictionary-member) [members](https://webidl.spec.whatwg.org/#dfn-dictionary-member), and the argument is either the final argument or is followed only by [optional arguments](https://webidl.spec.whatwg.org/#dfn-optional-argument), then the argument must be specified as optional and have a default value provided.

-- 
GitHub Notification of comment by cdumez
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11340#issuecomment-2529560783 using your GitHub account


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

Received on Monday, 9 December 2024 21:31:03 UTC