no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / bugs / 315920-21.svg
blob2f79a06c59c2f9f8ff0a7f7a2799ee3a2ef150e5
1 <?xml version="1.0" standalone="no"?>
2 <?xml-stylesheet href="315920-21-style.css" type="text/css"?>
4 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
5 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
6 <svg width="4in" height="3in" version="1.1"
7 xmlns="http://www.w3.org/2000/svg"
8 xmlns:xlink="http://www.w3.org/1999/xlink"
9 class="reftest-wait">
10 <desc>This graphic links to an external image
11 </desc>
12 <script type="text/javascript"> <![CDATA[
13 function onloadHandler() {
14 var image = document.getElementById("i1");
15 image.addEventListener("error",
16 function() {
17 document.documentElement.removeAttribute("class");
19 false);
20 image.setAttributeNS("http://www.w3.org/1999/xlink",
21 "href", "no-such-scheme:nothing");
23 window.addEventListener("load", onloadHandler, false);
24 ]]>
25 </script>
26 <image id="i1" x="200" y="200" width="100px" height="80px">
27 </image>
28 <circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red"/>
29 </svg>