summaryrefslogtreecommitdiff
path: root/rsvg/tests/fixtures/reftests/bugs-reftests/bug92-symbol-clip.svg
blob: f25b65b247e880f3dd0abdbc3c41fbd569360dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
     width="100" height="100" viewBox="0 0 100 100">
  <defs>
    <symbol id="foo" viewBox="0 0 50 50">
      <rect x="0" y="0" width="40" height="40" fill="lime"/>
      <rect x="50" y="0" width="40" height="40" fill="red"/>
    </symbol>
  </defs>

  <use x="0" y="0" width="50" height="50" xlink:href="#foo"/>
</svg>