<svg xmlns="http://www.w3.org/2000/svg"> | |
<!-- Only valid svg subdocuments (enclosed by <svg xmlns="svgNS">) are allowed in fO documents. No renderers should be created for <g> and children --> | |
<foreignObject width="300" height="100"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<p>This should not crash</p> | |
<g xmlns="http://www.w3.org/2000/svg"> | |
<text y="20">This should not be shown</text> | |
</g> | |
<g/> | |
</html> | |
</foreignObject> | |
</svg> |