| OLD | NEW | 
|   1 <!-- |   1 <!-- | 
|   2 Copyright 2012 Google Inc. All Rights Reserved. |   2 Copyright 2012 Google Inc. All Rights Reserved. | 
|   3  |   3  | 
|   4 Licensed under the Apache License, Version 2.0 (the "License"); |   4 Licensed under the Apache License, Version 2.0 (the "License"); | 
|   5 you may not use this file except in compliance with the License. |   5 you may not use this file except in compliance with the License. | 
|   6 You may obtain a copy of the License at |   6 You may obtain a copy of the License at | 
|   7  |   7  | 
|   8     http://www.apache.org/licenses/LICENSE-2.0 |   8     http://www.apache.org/licenses/LICENSE-2.0 | 
|   9  |   9  | 
|  10 Unless required by applicable law or agreed to in writing, software |  10 Unless required by applicable law or agreed to in writing, software | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
|  39 //   https://www.w3.org/Bugs/Public/show_bug.cgi?id=22402 |  39 //   https://www.w3.org/Bugs/Public/show_bug.cgi?id=22402 | 
|  40  |  40  | 
|  41 var anim = new Animation( |  41 var anim = new Animation( | 
|  42     document.getElementById("a"), [{left: "100px"}, {left: "500px"}], |  42     document.getElementById("a"), [{left: "100px"}, {left: "500px"}], | 
|  43     {iterations: Infinity, duration: 1.0 * 1000, fill: 'forwards'}); |  43     {iterations: Infinity, duration: 1.0 * 1000, fill: 'forwards'}); | 
|  44 var animationGroup = new AnimationGroup([anim], |  44 var animationGroup = new AnimationGroup([anim], | 
|  45     {direction: "alternate", duration: 1.0 * 1000, iterations: 3.0, fill: 'forwa
    rds'}); |  45     {direction: "alternate", duration: 1.0 * 1000, iterations: 3.0, fill: 'forwa
    rds'}); | 
|  46  |  46  | 
|  47 document.timeline.play(animationGroup); |  47 document.timeline.play(animationGroup); | 
|  48 </script> |  48 </script> | 
| OLD | NEW |