Highcharts adds duplicate xmlns attribute to SVG element in IE

后端 未结 2 1800
说谎
说谎 2021-01-21 21:42

I\'m using Highcharts to create charts in a PHP web application. Problem is that in IE, the SVG element that is created ends up with duplicate xmlns attributes. It can be seen i

2条回答
  •  青春惊慌失措
    2021-01-21 22:29

    We fixed the bug now, see the the linked code at https://github.com/highslide-software/highcharts.com/issues/1978. While the element was created with createElementNS, only IE9 and IE10 actually created a visible attribute for it. So the workaround was to add the attribute as well if not present.

提交回复
热议问题