|
1 <!-- |
|
2 Any copyright is dedicated to the Public Domain. |
|
3 http://creativecommons.org/licenses/publicdomain/ |
|
4 Test whether SVG gradients as -moz-element render the same as |
|
5 a SVG rect with an SVG gradient. |
|
6 --> |
|
7 <!DOCTYPE html> |
|
8 <html> |
|
9 <body style="margin:0"> |
|
10 <svg width="300" height="300"> |
|
11 <rect width="300" height="300" fill="url(#g)"></rect> |
|
12 <linearGradient id="g" gradientUnits="objectBoundingBox" x2="0" y2="1"> |
|
13 <stop stop-color="lime" offset="0"></stop> |
|
14 <stop stop-color="black" offset="1"></stop> |
|
15 </linearGradient> |
|
16 </svg> |
|
17 </body> |
|
18 </html> |
|
19 |