The following foreignobject code is not displaying html element but only plain text:
<g xmlns="http://ift.tt/nvqhV5" x="0" y="0" width="60" height="20" xmlns:pidoco="http://ift.tt/1r32WKc">
<foreignObject width="100" height="100" xmlns="http://ift.tt/nvqhV5" requiredExtensions="http://ift.tt/lH0Osb">
<body xmlns="http://ift.tt/lH0Osb">
<p style="font-size:1em;stroke-width:0pt;" xmlns="http://ift.tt/lH0Osb">text</p>
</body>
</foreignObject>
</g>
The g tag is working correctly because other svg elements can be rendered.
I'm using Chrome 37.
No comments:
Post a Comment