[csswg-drafts] Pull Request: [css-transitions] Change TransitionEvent elapsedTime from 'float' to …

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

== [css-transitions] Change TransitionEvent elapsedTime from 'float' to … ==
…'double'

As per the web-idl spec, float should only be used if there is a
specific reason, as double much more closely matches the ECMAScript
Number type. In the case of TransitionEvent there does not appear to be
such a reason.

Furthermore, switching to double allows the elapsedTime to reach higher
values without overflowing. A rough calculation (with some assumptions
and possible errors) suggests that this change will raise the celing
from ~4.5 hours to years.

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

Received on Friday, 11 May 2018 14:20:56 UTC