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

Side by Side Diff: LayoutTests/animations/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/virtual/stable/animations-unprefixed/stacked-neutral-keyframe-css-animations.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <style>
5 #target {
6 animation-name: first, second;
7 animation-duration: 1e8s;
8 animation-timing-function: steps(2, start);
9 left: 100px;
10 }
11
12 @keyframes first {
13 from { left: 300px; }
14 to { left: 300px; }
15 }
16
17 @keyframes second {
18 to { left: 200px; }
19 }
20 </style>
21 <div id="target"></div>
22 <script>
23 test(_ => {
24 assert_equals(getComputedStyle(target).left, '250px');
25 }, 'Multiple CSS Animations on the same property should composite together');
26 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/virtual/stable/animations-unprefixed/stacked-neutral-keyframe-css-animations.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698