Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: LayoutTests/animations/keyframes-iteration-count-non-integer.html

Issue 23039013: Web Animations: Fix elpasedTime in animation events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed elapsedTime for negative delay and added a test Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/animations/negative-delay-events.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/keyframes-iteration-count-non-integer.html
diff --git a/LayoutTests/animations/keyframes-iteration-count-non-integer.html b/LayoutTests/animations/keyframes-iteration-count-non-integer.html
index a25bca3b8aa8b43f3b5b72c4e49b488b07633066..450ee30348a0a29be9453c865dbf84febd407d1a 100644
--- a/LayoutTests/animations/keyframes-iteration-count-non-integer.html
+++ b/LayoutTests/animations/keyframes-iteration-count-non-integer.html
@@ -37,7 +37,7 @@
document.addEventListener("webkitAnimationEnd", function(event){
var result;
- if (event.elapsedTime < 1)
+ if (event.elapsedTime > 0 && event.elapsedTime < 1)
result = "PASS end of animation";
else
result = "FAIL end of animation";
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/animations/negative-delay-events.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698