Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / animation / compositor-animation-delay-cancel.html
blob87730a59db19925f399d9b2cf3a2a8b18a6d946a
1 <style>
2 div {
3 position: relative;
4 height: 100px;
5 width: 100px;
6 background: blue;
8 </style>
10 Player started then cancel()/finish(). Neither of the boxes should move.
11 <br>
13 <div id="target1"></div>
14 <div id="target2"></div>
16 <script>
17 var player1 = target1.animate([
18 {transform: 'translate(0px)'},
19 {transform: 'translate(800px)'}
20 ], {
21 duration: 1000,
22 delay: 100
23 });
25 var player2 = target2.animate([
26 {transform: 'translate(0px)'},
27 {transform: 'translate(800px)'}
28 ], {
29 duration: 1000,
30 delay: 100
31 });
33 setTimeout(function() {
34 player1.cancel();
35 player2.finish();
36 }, 10);
37 </script>