summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/struct/reftests/requiredextensions-xhtml.tentative.svg
blob: 911f983cab68ee733b01517486b198fa6fcf3dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
  <title>requiredExtensions: support for HTML/XHTML (non-normative)</title>
  <h:link rel="match" href="reference/green-100x100.svg"/>
  <switch>
    <foreignObject width="100" height="100" requiredExtensions="http://www.w3.org/1999/xhtml">
      <body xmlns="http://www.w3.org/1999/xhtml" style="margin: 0">
        <div style="width: 100px; height: 100px; background-color: green"></div>
      </body>
    </foreignObject>
    <rect width="100" height="100" fill="red"/>
  </switch>
</svg>