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

To match the WPT test, I believe that:

1. the IDL should be set to `constructor(optional ScrollTimelineOptions options)`,
2. the spec text should be updated to say "If the source member of options is present" and not "If the source member of options is present _and not null_".

That way implementations could distinguish between the three cases outlined above.

-- 
GitHub Notification of comment by graouts
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11340#issuecomment-2529561209 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:08 UTC