<html>
<body style="margin: 0;">
<svg xmlns="http://www.w3.org/2000/svg">
<!-- The FO/div background should cover the rect element -->
<rect x="0" y="0" width="100" height="50" fill="red"></rect>
<foreignObject x="0" y="0" width="200" height="50">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <body>
        <div style="background: green; height: 50px;"></div>
    </body>
    </html>
</foreignObject>
</svg>
</body>
</html>
