Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/image/imported-image-02.svg
<?xml version="1.0" standalone="yes"?>
<svg version="1.1"
<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>