gradient-href-01.html (489B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <base href="/"/> 5 </head> 6 <body bgcolor="lime"> 7 <svg width="100%" height="100%"> 8 <defs> 9 <linearGradient id="b"> 10 <stop offset="0" stop-color="lime"/> 11 <stop offset="1" stop-color="lime"/> 12 </linearGradient> 13 <linearGradient id="a" xlink:href="#b"/> 14 </defs> 15 <rect width="100%" height="100%" fill="red"/> 16 <rect width="100%" height="100%" fill="url(#a)"/> 17 </svg> 18 </body> 19 </html>