| Index: third_party/WebKit/LayoutTests/web-animations-api/the-effect-value-of-a-keyframe-effect.html
|
| diff --git a/third_party/WebKit/LayoutTests/web-animations-api/the-effect-value-of-a-keyframe-effect.html b/third_party/WebKit/LayoutTests/web-animations-api/the-effect-value-of-a-keyframe-effect.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6d655f663e579ead3a8eede57f0bee55f126438f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/web-animations-api/the-effect-value-of-a-keyframe-effect.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<meta charset=utf-8>
|
| +<title>Keyframe handling tests</title>
|
| +<link rel="help" href="https://w3c.github.io/web-animations/#the-effect-value-of-a-keyframe-animation-effect">
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<script src="../imported/wpt/web-animations/testcommon.js"></script>
|
| +<body>
|
| +<div id="log"></div>
|
| +<div id="target"></div>
|
| +<script>
|
| +'use strict';
|
| +
|
| +test(function(t) {
|
| + var div = createDiv(t);
|
| + div.style.color = 'rgb(0, 0, 0)';
|
| + var anim = div.animate({ color: [ '-webkit-text', '-webkit-text'] }, 1000);
|
| +
|
| + anim.pause();
|
| + anim.currentTime = 0;
|
| +
|
| + assert_equals(getComputedStyle(div).color, 'rgb(0, 0, 0)');
|
| +
|
| +}, 'Tests keyframes with property values which are unsupported are removed');
|
| +</script>
|
| +</body>
|
|
|