Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / animations / stacked-neutral-keyframe-css-animations.html
blob0685edfcb672d2a826d04f7b80ca080312ec31a1
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;
12 @keyframes first {
13 from { left: 300px; }
14 to { left: 300px; }
17 @keyframes second {
18 to { left: 200px; }
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>