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 #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.