SVG fill attribute is created as FILL attribute in Microsoft Edge
http://datenverdrahten.de/xslt2/saxon-js/studis/ has an Saxon-JS XSLT created SVG graphics, unfortunately in Microsoft Edge (Microsoft Edge 38.14393.0.0, Microsoft EdgeHTML 14.14393) all SVG elements are painted black as somehow the @fill@ attribute ends up as a @FILL@ attribute.
I have tried to write a simple test case https://martin-honnen.github.io/xslt/2017/test2017030201.html which does nothing but create a literal SVG result element with a @fill@ attribute, even there the problem occurs that the element is black as it doesn't end up having a @fill@ attribute but a @FILL@ attribute in the DOM.
Is this a known issue with Edge and Saxon-JS?
RE: SVG fill attribute is created as FILL attribute in Microsoft Edge - Added by John Lumley over 3 years ago
It appears to be something deeper in Edge and the SVG DOM, not perhaps specific to Saxon-JS. If you look at http://www.saxonica.com/saxon-js/demos/clocks/index.xhtml you see the same thing for SVG properties that are directly in the HTML. This appears to be a known issue (https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/5579311/)
Not sure how we can approach this yet.
Please register to reply