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

Unified Diff: LayoutTests/animations/animations-parsing.html

Issue 149363002: Web Animations API: Implement step-middle and steps(x, middle) timing functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove class in BisonCSSParserTest and change to new license text Created 6 years, 11 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
Index: LayoutTests/animations/animations-parsing.html
diff --git a/LayoutTests/animations/animations-parsing.html b/LayoutTests/animations/animations-parsing.html
index ba993985bb38da673363b24e0a82d5907ba03b29..79d088be07584c2cef194cfa19a5745f9276079c 100644
--- a/LayoutTests/animations/animations-parsing.html
+++ b/LayoutTests/animations/animations-parsing.html
@@ -288,6 +288,7 @@ shouldBe("computedStyle.animationTimingFunction", "'steps(5, start)'");
shouldBe("style.webkitAnimationTimingFunction", "'steps(5, start)'");
shouldBe("computedStyle.webkitAnimationTimingFunction", "'steps(5, start)'");
+
shans 2014/01/30 09:55:08 Don't need this line
style.animationName = "anim1, anim2";
style.animationTimingFunction = "ease-in-out, ease-in";
@@ -378,6 +379,18 @@ shouldBe("computedStyle.animationTimingFunction", "'ease'");
shouldBe("style.webkitAnimationTimingFunction", "''");
shouldBe("computedStyle.webkitAnimationTimingFunction", "'ease'");
+style.animationTimingFunction = "step-middle";
+shouldBe("style.animationTimingFunction", "''");
+shouldBe("computedStyle.animationTimingFunction", "'ease'");
+shouldBe("style.webkitAnimationTimingFunction", "''");
+shouldBe("computedStyle.webkitAnimationTimingFunction", "'ease'");
+
+style.animationTimingFunction = "steps(5, middle)";
+shouldBe("style.animationTimingFunction", "''");
+shouldBe("computedStyle.animationTimingFunction", "'ease'");
+shouldBe("style.webkitAnimationTimingFunction", "''");
+shouldBe("computedStyle.webkitAnimationTimingFunction", "'ease'");
+
style.animationTimingFunction = "red";
shouldBe("style.animationTimingFunction", "''");
shouldBe("computedStyle.animationTimingFunction", "'ease'");
« no previous file with comments | « no previous file | LayoutTests/animations/animations-parsing-expected.txt » ('j') | LayoutTests/animations/timing-functions.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698