summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-extref-dataURI-01.svg
blob: 3274a21264c41f8dda19b484ddd9eee3c098a07b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>
    Testcase for bug 686013: &lt;use&gt; targeting a fragment in a data URI
  </title>
  <rect fill="red" height="100%" width="100%"/>
  <use xlink:href="data:image/svg+xml,&lt;svg xmlns='http://www.w3.org/2000/svg'&gt;&lt;rect id='target' height='100%' width='100%' fill='lime'/&gt;&lt;rect height='100%' width='100%' fill='orange'/&gt;&lt;/svg&gt;#target"/>
</svg>