summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/image/imported-image-02.svg
blob: 7e510257952c5749d3d568fd4137a7bff805dc3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" standalone="yes"?>
<svg version="1.1"
     xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <script>
    <![CDATA[
      var doc = document.implementation.createDocument("", "", null);
      var img = doc.createElementNS("http://www.w3.org/2000/svg", "image");
      img.setAttribute("width", "10");
      img.setAttribute("height", "10");
      img.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href",
                         "blueRect10x10.png");
      document.documentElement.appendChild(img);
    ]]>
  </script>
  
</svg>