| Index: LayoutTests/svg/animations/additive-from-to-fill-animation.html
|
| diff --git a/LayoutTests/svg/animations/additive-from-to-fill-animation.html b/LayoutTests/svg/animations/additive-from-to-fill-animation.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9e1d0671bb9abea4548691e65696c4ec0392bdd4
|
| --- /dev/null
|
| +++ b/LayoutTests/svg/animations/additive-from-to-fill-animation.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
|
| + <rect width="100" height="100" color="green" fill="black">
|
| + <animate attributeName="fill" from="currentColor" to="currentColor" begin="0s" dur="0.01s" fill="freeze" additive="sum" onend="checkResult()"/>
|
| + </rect>
|
| +</svg>
|
| +<script>
|
| +var jsTestIsAsync = true;
|
| +
|
| +function checkResult() {
|
| + shouldBe("getComputedStyle(document.querySelector('rect')).fill", "'rgb(0, 128, 0)'");
|
| + finishJSTest();
|
| +}
|
| +</script>
|
|
|