summaryrefslogtreecommitdiffstats
path: root/dom/svg/test/viewport-helper.svg
blob: c553b43a1fb111f15d739f6dfa5d96cc598568a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="750"
     xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">

  <defs>
    <symbol id="sym">
      <rect width="0" height="0" id="symbolRect"/>
    </symbol>
  </defs>
  <svg id="inner">
    <g id="g1">
    </g>
  </svg>
  <foreignObject>
    <svg id="outer">
      <g id="g2">
      </g>
    </svg>
  </foreignObject>
  <!-- something invalid -->
  <foreignObject>
    <g id="g3">
    </g>
  </foreignObject>
  <use xlink:href="#sym" id="use"/>
</svg>