summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-restrictions.svg
blob: 8cadeb6be282753958f5b9844725c27f2ddd10e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
  <defs>
    <g id="foreign">
      <foreignObject x="100" y="0" width="100" height="100">
        <p xmlns="http://www.w3.org/1999/xhtml">Foo</p>
      </foreignObject>
    </g>
  </defs>
  <g color="green">
    <use href="use-02-extref-resource.svg#foreign" />
    <use href="#foreign" />
  </g>
</svg>