Re: [csswg-drafts] [web-animations-1] Allow setting timeline in Element.animate() (#5013)

Right, I was mostly just curious what happens when you explicitly specify `{ timeline: undefined }`.

I believe WebIDL makes that the same as `{ timeline: null }` ([spec ref](https://heycam.github.io/webidl/#es-nullable-type)) which is not very idiomatic JS (since `JSON.stringify({ a: null }) !== JSON.stringify({ a: undefined })` but `JSON.stringify({ a: undefined }) === JSON.stringify({})`) but oh well.

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

Received on Friday, 1 May 2020 00:46:45 UTC