Commit c7174792 authored by Chris Nardi's avatar Chris Nardi Committed by Commit Bot

Remove TODOs for switching elapsedTime from double to float

https://github.com/w3c/csswg-drafts/pull/2666 and
https://github.com/w3c/csswg-drafts/pull/2671 updated the spec so that
elapsedTime as a member of AnimationEvent and TransitionEvent is
specified as a double instead of a float. Remove the TODOs as our
implementation is now correct.

Change-Id: I1c7abf14765fdbd46e37b4f8c506fed574cecdd0
Reviewed-on: https://chromium-review.googlesource.com/1056787Reviewed-by: default avatarPhilip Jägenstedt <foolip@chromium.org>
Commit-Queue: Chris Nardi <cnardi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558285}
parent 2d341b43
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
Constructor(DOMString type, optional AnimationEventInit eventInitDict) Constructor(DOMString type, optional AnimationEventInit eventInitDict)
] interface AnimationEvent : Event { ] interface AnimationEvent : Event {
readonly attribute DOMString animationName; readonly attribute DOMString animationName;
// TODO(foolip): elapsedTime should be float.
readonly attribute double elapsedTime; readonly attribute double elapsedTime;
readonly attribute DOMString pseudoElement; readonly attribute DOMString pseudoElement;
}; };
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
dictionary AnimationEventInit : EventInit { dictionary AnimationEventInit : EventInit {
DOMString animationName = ""; DOMString animationName = "";
// TODO(foolip): elapsedTime should be float.
double elapsedTime = 0.0; double elapsedTime = 0.0;
DOMString pseudoElement = ""; DOMString pseudoElement = "";
}; };
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
Constructor(DOMString type, optional TransitionEventInit eventInitDict) Constructor(DOMString type, optional TransitionEventInit eventInitDict)
] interface TransitionEvent : Event { ] interface TransitionEvent : Event {
readonly attribute DOMString propertyName; readonly attribute DOMString propertyName;
// TODO(foolip): elapsedTime should be float.
readonly attribute double elapsedTime; readonly attribute double elapsedTime;
readonly attribute DOMString pseudoElement; readonly attribute DOMString pseudoElement;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment