Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / animations / retain-zero-percent.html
blob4838d467efddec35cc9153dca5491c304a75ee8b
1 <script src="../resources/testharness.js"></script>
2 <script src="../resources/testharnessreport.js"></script>
3 <div id="target"></div>
4 <script>
5 test(function() {
6 var animation = target.animate([{motionOffset: '-1%'}, {motionOffset: '1%'}], 1);
7 animation.pause();
8 animation.currentTime = 0.5;
9 assert_equals(getComputedStyle(target).motionOffset, '0%');
10 });
11 </script>