Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <?xml version="1.0" standalone="no"?> |
michael@0 | 2 | <?xml-stylesheet href="315920-20-style.css" type="text/css"?> |
michael@0 | 3 | |
michael@0 | 4 | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" |
michael@0 | 5 | "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
michael@0 | 6 | <svg width="4in" height="3in" version="1.1" |
michael@0 | 7 | xmlns="http://www.w3.org/2000/svg" |
michael@0 | 8 | xmlns:xlink="http://www.w3.org/1999/xlink" |
michael@0 | 9 | class="reftest-wait"> |
michael@0 | 10 | <desc>This graphic links to an external image |
michael@0 | 11 | </desc> |
michael@0 | 12 | <script type="text/javascript"> <![CDATA[ |
michael@0 | 13 | function onloadHandler() { |
michael@0 | 14 | var image = document.getElementById("i1"); |
michael@0 | 15 | image.addEventListener("load", |
michael@0 | 16 | function() { |
michael@0 | 17 | document.documentElement.removeAttribute("class"); |
michael@0 | 18 | }, |
michael@0 | 19 | false); |
michael@0 | 20 | image.setAttributeNS("http://www.w3.org/1999/xlink", |
michael@0 | 21 | "href", "solidblue.png"); |
michael@0 | 22 | } |
michael@0 | 23 | window.addEventListener("load", onloadHandler, false); |
michael@0 | 24 | ]]> |
michael@0 | 25 | </script> |
michael@0 | 26 | <image id="i1" x="200" y="200" width="100px" height="80px" |
michael@0 | 27 | xlink:href="no-such-scheme:nothing"> |
michael@0 | 28 | </image> |
michael@0 | 29 | <circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red"/> |
michael@0 | 30 | </svg> |