Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / grayscale-gradient-mask.svg
blobd5fbdcc9de086100e1cb8c4de4c107c87aaa731a
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <svg viewBox="0 0 820 320" version="1.1" xmlns="http://www.w3.org/2000/svg">
5 <desc>Example mask01 - blue text masked with gradient against red background
6 </desc>
7 <defs>
8 <linearGradient id="Gradient" gradientUnits="userSpaceOnUse"
9 x1="0" y1="0" x2="800" y2="0">
10 <stop offset="0" stop-color="white" stop-opacity="1" /> <!-- this end is filled -->
11 <stop offset="1" stop-color="black" stop-opacity="1" />
12 </linearGradient>
13 </defs>
14 <mask id="Mask" maskUnits="userSpaceOnUse"
15 x="0" y="0" width="800" height="300">
16 <rect x="0" y="0" width="800" height="300" fill="url(#Gradient)" />
17 </mask>
18 <rect x="0" y="0" width="800" height="300" fill="#FF8080" />
19 <rect x="0" y="100" width="800" height="100" fill="blue" mask="url(#Mask)" />
20 </svg>