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

Upon closer inspection, the IDL constructor definition seems fine because `ScrollTimelineOptions` does _not_ define `source` to default to `null`, so it _is_ possible to distinguish between `source` being explicitly set to `null` and `source` not being explicitly set.

So I think the only required change is to update the spec text as I wrote just above. I'll make a PR to that effect.

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


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

Received on Tuesday, 10 December 2024 07:03:20 UTC