[csswg-drafts] Pull Request: [scroll-animations] let source be explicitly nullable (#5202, #5211)

majido has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [scroll-animations] let source be explicitly nullable (#5202, #5211) ==
Changes:
 - Fix IDL to make source nullable.
 - In CSS source will accept 'auto' and 'none' with none
   mapping to null.
 - In JS, we now map missing 'source' to document scrolling element
   (i.e., auto behavior) and explicitly null 'source' to null.
 - Correctly check null source when calculating offsets.

Other minor cleanups.

See https://github.com/w3c/csswg-drafts/pull/5263

Received on Thursday, 25 June 2020 16:05:30 UTC