Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html |
| diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..132f2d8fc382a6068283717e3763c248326ae078 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html |
| @@ -0,0 +1,13 @@ |
| +<!DOCTYPE html> |
|
suzyh_UTC10 (ex-contributor)
2016/07/12 01:59:37
Please add meta, title and link tags as described
|
| +<script src="../resources/testharness.js"></script> |
| +<script src="../resources/testharnessreport.js"></script> |
| +<script> |
| + |
| +test(function() { |
| + document.documentElement.style.opacity = 1; |
| + var animation = document.documentElement.animate([{opacity: 0.5}, {opacity: 0.5}], 100000); |
| + animation.playbackRate = -1; |
| + animation.currentTime = 0; |
| + assert_equals(getComputedStyle(document.documentElement).opacity, "1"); |
| +}, "An animation which is not filling backwards should not be in effect at time 0 when playing backwards"); |
| +</script> |