Bug 458160 - Enable downloadable .otf fonts under Windows. r=roc, sr=vlad.
[wine-gecko.git] / layout / reftests / filters.svg
blob5f8b0aa56e93d97eab5bb6d14637d449d889d173
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 <filter id="NonBlackToWhite" x="0%" y="0%" width="100%" height="100%">
11 <feColorMatrix type="matrix" values="255 255 255 0 0
12 255 255 255 0 0
13 255 255 255 0 0
14 0 0 0 1 0" />
15 </filter>
17 <!-- Keep all white pixels white, and change any others to black. -->
18 <filter id="NonWhiteToBlack" x="0%" y="0%" width="100%" height="100%">
19 <feComponentTransfer>
20 <feFuncR type="linear" slope="-1" intercept="1" />
21 <feFuncG type="linear" slope="-1" intercept="1" />
22 <feFuncB type="linear" slope="-1" intercept="1" />
23 </feComponentTransfer>
24 <feColorMatrix type="matrix" values="255 255 255 0 0
25 255 255 255 0 0
26 255 255 255 0 0
27 0 0 0 1 0" />
28 <feComponentTransfer>
29 <feFuncR type="linear" slope="-1" intercept="1" />
30 <feFuncG type="linear" slope="-1" intercept="1" />
31 <feFuncB type="linear" slope="-1" intercept="1" />
32 </feComponentTransfer>
33 </filter>
35 </defs>
36 </svg>