summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/struct/reftests/nested-svg-through-display-contents.svg
blob: 1be64d5242f9f65f53cd079df270c8a2232b741b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<svg viewBox="0 0 400 400" width="400" height="400" stroke="none" id="s1"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:h="http://www.w3.org/1999/xhtml">
 <h:link rel="match" href="reference/green-100x100.svg"/>
 <h:link rel="help" href="https://svgwg.org/svg2-draft/struct.html#ForeignNamespaces"/>
 <rect x="0" y="0" width="100" height="100" fill="green"></rect>
 <h:div style="display: contents">
  <svg width="300" height="300">
   <rect x="5" y="5" width="100" height="100" fill="red"></rect>
  </svg>
 </h:div>
</svg>