You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[css-transitions] Change TransitionEvent elapsedTime from 'float' to 'double' (#2671)
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.
Copy file name to clipboardExpand all lines: css-transitions-1/Overview.bs
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,6 @@ Issue Tracking: Bugzilla bugs for this level https://www.w3.org/Bugs/Public/bugl
42
42
Issue Tracking: Bugzilla bugs for all levels https://www.w3.org/Bugs/Public/buglist.cgi?query_format=advanced&product=CSS&component=Transitions&resolution=---
43
43
Abstract: CSS Transitions allows property changes in CSS values to occur smoothly over a specified duration.
44
44
Status Text: This document is expected to be relatively close to last call. While some issues raised have yet to be addressed, new features are extremely unlikely to be considered for this level.
:: The name of the CSS property associated with the transition.
1124
1123
Note: This is always the name of a longhand property. See 'transition-property' for how specifying shorthand properties causes transitions on longhands.
1125
-
: elapsedTime of type float, readonly
1124
+
: elapsedTime
1126
1125
:: The amount of time the transition has been running, in seconds, when this
1127
1126
event fired not including any time spent in the delay phase. The precise
1128
1127
calculation for of this member is defined along with each event type.
1129
-
: pseudoElement of type CSSOMString, readonly
1128
+
: pseudoElement
1130
1129
:: The name (beginning with two colons) of the CSS
1131
1130
pseudo-element on which the transition occurred (in
0 commit comments