<svg xmlns="http://www.w3.org/2000/svg">
<foreignObject width="300" height="100">
<html xmlns="http://www.w3.org/1999/xhtml">
<p style="margin-top: 0;">Test from HTML in foreignObject</p>
<svg xmlns="http://www.w3.org/2000/svg">
<rect width="20" height="20" fill="green"/>
<text y="50">Test from SVG in HTML in foreignObject</text>
</svg>
</html>
</foreignObject>
</svg>