summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/filters/feComponentTransfer-2.svg
blob: 3514ec92f46139c6e133703463b88ce1208379aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500">

<filter id="f1" filterUnits="userSpaceOnUse" primitiveUnits="userSpaceOnUse">
  <feComponentTransfer
    style="color-interpolation-filters:sRGB">
    <feFuncR type="table" tableValues="1 0 0 1"/>
    <feFuncG type="discrete" tableValues="0 1 0"/>
    <feFuncB type="linear" slope="0.5" intercept="0.75"/>
    <feFuncA type="identity"/>
  </feComponentTransfer>
</filter>
<rect x="0" y="0" width="100" height="100" fill="#808080" filter="url(#f1)"/>

</svg>