Closed canadaduane closed 1 year ago
Thank you for being proactive with this PR! I will review it ASAP and I apologize about any blockers.
Ok, updated based on your comments @brainkim. Thanks for the feedback & for considering this change.
F- IT, I’LL FIX THE LINT ERROR ON MAIN
Shipped in 0.5.6
Thanks!
A foreignObject element within an svg tag should not lose its SVG_NAMESPACE, because it is still an SVG element.
In addition, children of a foreignObject element should be allowed to specify their xmlns, since it is likely they will be of some other namespace than the foreignObject, e.g. a child div would need to be xhtml.
This PR allows such child elements to specify their xmlns, when needed.