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

Unified Diff: LayoutTests/virtual/stable/animations-unprefixed/stacked-neutral-keyframe-css-animations.html

Issue 1329843002: Support per property CSS Animation stacks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Lint Created 5 years, 3 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/virtual/stable/animations-unprefixed/stacked-neutral-keyframe-css-animations.html
diff --git a/LayoutTests/virtual/stable/animations-unprefixed/stacked-neutral-keyframe-css-animations.html b/LayoutTests/virtual/stable/animations-unprefixed/stacked-neutral-keyframe-css-animations.html
new file mode 100644
index 0000000000000000000000000000000000000000..913b1f5e3d5847ef252cfcb6d0aefdf4f20b0a2d
--- /dev/null
+++ b/LayoutTests/virtual/stable/animations-unprefixed/stacked-neutral-keyframe-css-animations.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<style>
+#target {
+ animation-name: first, second;
+ animation-duration: 1e8s;
+ animation-timing-function: steps(2, start);
+ left: 100px;
+}
+
+@keyframes first {
+ from { left: 300px; }
+ to { left: 300px; }
+}
+
+@keyframes second {
+ to { left: 200px; }
+}
+</style>
+<div id="target"></div>
+<script>
+test(_ => {
+ assert_equals(getComputedStyle(target).left, '150px');
+}, 'Multiple CSS Animations on the same property do not composite together in stable Blink');
+</script>
« no previous file with comments | « LayoutTests/animations/stacked-neutral-keyframe-css-animations.html ('k') | Source/core/animation/AnimationStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698