OLD | NEW |
---|---|
(Empty) | |
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()"> | |
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js" /> | |
3 <script> | |
4 function repaintTest() { | |
5 var fe = document.getElementById("fe"); | |
6 fe.in1.baseVal = "SourceGraphic"; | |
7 } | |
8 </script> | |
9 <filter id="f" x="0%" y="0%" width="100%" height="100%"> | |
10 <feComponentTransfer id="fe" in="SourceAlpha"> | |
11 <feFuncG type="identity" amplitude="1" exponent="0.5" offset="0"/> | |
fs
2015/04/02 09:05:58
You can drop 'amplitude="1" exponent="0.5" offset=
| |
12 </feComponentTransfer> | |
13 </filter> | |
14 <rect width="100" height="100" fill="rgb(0,255,0)" filter="url(#f)"/> | |
15 </svg> | |
OLD | NEW |