2 <body style="margin: 0;">
3 <svg xmlns="http://www.w3.org/2000/svg">
4 <!-- The FO should be masked, with only the green half visible. -->
6 <mask id="mask" width="200" height="100">
7 <rect width="200" height="50" style="fill: #fff"/>
10 <foreignObject width="200" height="100" mask="url(#mask)" opacity=".5">
11 <html xmlns="http://www.w3.org/1999/xhtml">
13 <div style="background: green; height: 50px;"></div>
14 <div style="background: red; height: 50px;"></div>