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()"/>
9 var jsTestIsAsync
= true;
11 function checkResult() {
12 shouldBe("getComputedStyle(document.querySelector('rect')).fill", "'rgb(0, 128, 0)'");