Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- |
michael@0 | 3 | Any copyright is dedicated to the Public Domain. |
michael@0 | 4 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 5 | --> |
michael@0 | 6 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="m();"> |
michael@0 | 7 | <title>Testcase for dynamic feImage changes</title> |
michael@0 | 8 | <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=455226 --> |
michael@0 | 9 | <script> |
michael@0 | 10 | function m() { |
michael@0 | 11 | var xlinkNS = "http://www.w3.org/1999/xlink"; |
michael@0 | 12 | document.getElementById("feImage").removeAttributeNS(xlinkNS, "href"); |
michael@0 | 13 | } |
michael@0 | 14 | </script> |
michael@0 | 15 | |
michael@0 | 16 | <defs> |
michael@0 | 17 | <filter id="f1" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox" |
michael@0 | 18 | x="0" y="0" width="1" height="1"> |
michael@0 | 19 | |
michael@0 | 20 | <feImage id="feImage" |
michael@0 | 21 | xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAAxJREFUCNdj+M/AAAADAQEAGN2NsAAAAABJRU5ErkJggg" |
michael@0 | 22 | x="0" y="0" width="100%" height="100%" |
michael@0 | 23 | style="color-interpolation-filters:sRGB"/> |
michael@0 | 24 | </filter> |
michael@0 | 25 | </defs> |
michael@0 | 26 | <rect width="100%" height="100%" fill="lime"/> |
michael@0 | 27 | <rect width="100%" height="100%" filter="url(#f1)"/> |
michael@0 | 28 | </svg> |