OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <meta charset=utf-8> | |
3 <title>Test that extending effect should not cause a change in start time</title
> | |
4 <link rel="https://w3c.github.io/web-animations/#the-animation-interface"> | |
5 <script src="../resources/testharness.js"></script> | |
6 <script src="../resources/testharnessreport.js"></script> | |
7 <script src="../external/wpt/web-animations/testcommon.js"></script> | |
8 <script> | |
9 test(function() { | |
10 var animation = document.documentElement.animate([], 1000); | |
11 animation.effect.timing.duration = 1500; | |
12 assert_times_equal(animation.effect.timing.duration, 1000); | |
13 }, 'animation.effect should be read-only'); | |
14 </script> | |
OLD | NEW |