[csswg-drafts] [web-animations-1] Mapping between IDL and resolved/unresolved time values should be defined (#4677)

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

== [web-animations-1] Mapping between IDL and resolved/unresolved time values should be defined ==
Consider the setter for https://drafts.csswg.org/web-animations/#dom-animation-currenttime

This takes a nullable double.  It passes this nullable double to https://drafts.csswg.org/web-animations/#set-the-current-time which then passes it to https://drafts.csswg.org/web-animations/#silently-set-the-current-time

This then talks about whether time values are "resolved" or not.  But nothing defines what that actually means in this case.  Presumably the intent is that IDL `null` map to the "unresolved" state, but that needs to be defined.  Perhaps what's needed here is a mapping from nullable double values to time values (and vice versa; it's not clear to me what happens with getters in this specification that are supposed to return a nullable double if a time value is not representable as a double, for example).

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

Received on Friday, 17 January 2020 02:07:31 UTC