Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
suzyh_UTC10 (ex-contributor)
2016/07/12 01:59:37
Please add meta, title and link tags as described
| |
| 2 <script src="../resources/testharness.js"></script> | |
| 3 <script src="../resources/testharnessreport.js"></script> | |
| 4 <script> | |
| 5 | |
| 6 test(function() { | |
| 7 document.documentElement.style.opacity = 1; | |
| 8 var animation = document.documentElement.animate([{opacity: 0.5}, {opacity: 0. 5}], 100000); | |
| 9 animation.playbackRate = -1; | |
| 10 animation.currentTime = 0; | |
| 11 assert_equals(getComputedStyle(document.documentElement).opacity, "1"); | |
| 12 }, "An animation which is not filling backwards should not be in effect at time 0 when playing backwards"); | |
| 13 </script> | |
| OLD | NEW |