svg marker does not work in IE9-10

internet-explorer, svg

Solution

The problem is already reported to Microsoft as xdhmoore wrote in his answer: https://connect.microsoft.com/IE/feedback/details/801938/dynamically-updated-svg-path-with-a-marker-end-does-not-update

There is a fiddle where the problem is shown: http://jsfiddle.net/EEYZZ/

   //if (isIE10 || isIE11) {
       var parent = p1.parentNode;
       parent.removeChild(p1);
       parent.appendChild(p1);
   //}

My workaround is to manuelly remove the node from DOM and add it again, this will update the node as wanted... Don't speak about performance and stuff, but I think currently there is no better way to do it. (http://jsfiddle.net/kaljak/5zTv9/3/)

Problem

Working first time on svg. I have following svg definition for an 'arrow-like' path ``` <defs> <marker id="start" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto"> <path id="conditional" d="M 0 6 L 8 1 L 15 5 L 8 9 L 1 5" fill="white" stroke="black" stroke-width="1" /> <path id="default" d="M 5 0 L 11 10" fill="white" stroke="black" stroke-width="1" /> </marker> <marker id="end" refX="15" refY="6" markerUnits="userSpaceOnUse" markerWidth="15" markerHeight="12" orient="auto"> <path id="arrowhead" d="M 0 1 L 15 6 L 0 11z" fill="black" stroke="black" stroke-linejoin="round" stroke-width="2" /> </marker> </defs> <g id="edge"> <path id="bg_frame" d="M10 50 L210 50" stroke="black" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" marker-start="url(#start)" marker-end="url(#end)" /> <text id="text_name" x="0" y="0" oryx:edgePosition="startTop"/> </g> ``` But it does not show arrow at the end of path in IE 9 or IE 10 Does 'triangle' not supported in IE or Problem in the code? An example here, http://www.w3.org/TR/SVG11/images/painting/marker.svg too does not work in IE. Help Please, it is the only point my workflow editor has stuck. Link result My code's result in FF is: And code result in IE is(there is no arrow, no square at the end of arrow):

Original source