Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / additive-from-to-fill-animation.html
blob9e1d0671bb9abea4548691e65696c4ec0392bdd4
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
4 <rect width="100" height="100" color="green" fill="black">
5 <animate attributeName="fill" from="currentColor" to="currentColor" begin="0s" dur="0.01s" fill="freeze" additive="sum" onend="checkResult()"/>
6 </rect>
7 </svg>
8 <script>
9 var jsTestIsAsync = true;
11 function checkResult() {
12 shouldBe("getComputedStyle(document.querySelector('rect')).fill", "'rgb(0, 128, 0)'");
13 finishJSTest();
15 </script>