[csswg-drafts] [scroll-animations-1] CSSNumberish time values to represent types. (#7102)

flackr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [scroll-animations-1] CSSNumberish time values to represent types. ==
In #6674 the rewritten API uses doubles to represent time values for many of the properties. However, the current scroll-animations-1 spec switched to using CSSNumberish in https://github.com/w3c/csswg-drafts/pull/4890 when we decided that the different time units should have different types. Using CSSNumberish allows us to avoid accidentally using one type in another context, and we can use doubles for backwards compatibility with time-based animations.

I think we should continue to use CSSNumberish (either pixels or percentages depending on which way we go on #7045) for time values on these scroll timeline animations.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7102 using your GitHub account


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

Received on Friday, 4 March 2022 19:21:35 UTC