FakeSmile with IE9

后端 未结 2 1792
灰色年华
灰色年华 2021-01-20 12:09

I\'m trying to fake SMIL support in IE9 with FakeSmile

I\'m creating the SVG element dynamically, adding a rect element with animate element and calling beginElement

2条回答
  •  清歌不尽
    2021-01-20 12:36

    It seems you're setting a property incorrectly:

    animation.setAttributeNS(null, 'begin', 'indefinite');
    

    Change the property name to match the value:

    animation.setAttributeNS(null, 'repeatCount', 'indefinite');
    

提交回复
热议问题