Bug 575870 - Enable the firefox button on xp themed, classic, and aero basic. r=dao...
[mozilla-central.git] / layout / reftests / filters.svg
blob95d20889ef12737e5431c6efb99cd036d2a63cc6
1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
3 <defs>
5 <!-- so that other documents can svg:use this one and force it to
6 load before onload -->
7 <g id="empty" />
9 <!-- Keep all black pixels black, and change any others to white. -->
10 <!-- NOTE: alpha is preserved, so it will not adjust alpha edges -->
11 <filter id="NonBlackToWhite" x="0%" y="0%" width="100%" height="100%">
12 <feColorMatrix type="matrix" values="255 255 255 0 0
13 255 255 255 0 0
14 255 255 255 0 0
15 0 0 0 1 0" />
16 </filter>
18 <!-- Keep all white pixels white, and change any others to black. -->
19 <!-- NOTE: alpha is preserved, so it will not adjust alpha edges -->
20 <filter id="NonWhiteToBlack" x="0%" y="0%" width="100%" height="100%">
21 <feComponentTransfer>
22 <feFuncR type="linear" slope="-1" intercept="1" />
23 <feFuncG type="linear" slope="-1" intercept="1" />
24 <feFuncB type="linear" slope="-1" intercept="1" />
25 </feComponentTransfer>
26 <feColorMatrix type="matrix" values="255 255 255 0 0
27 255 255 255 0 0
28 255 255 255 0 0
29 0 0 0 1 0" />
30 <feComponentTransfer>
31 <feFuncR type="linear" slope="-1" intercept="1" />
32 <feFuncG type="linear" slope="-1" intercept="1" />
33 <feFuncB type="linear" slope="-1" intercept="1" />
34 </feComponentTransfer>
35 </filter>
37 <!-- Threshold colours into sixteen steps per channel. -->
38 <filter id="ThresholdRGB" x="0%" y="0%" width="100%" height="100%" color-interpolation-filters="sRGB">
39 <feComponentTransfer>
40 <feFuncR type="discrete" tableValues="0 .125 .25 .375 .5 .625 .75 .875 1" />
41 <feFuncG type="discrete" tableValues="0 .125 .25 .375 .5 .625 .75 .875 1" />
42 <feFuncB type="discrete" tableValues="0 .125 .25 .375 .5 .625 .75 .875 1" />
43 </feComponentTransfer>
44 </filter>
46 </defs>
47 </svg>