summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/gradient-href-01.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/svg/gradient-href-01.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/svg/gradient-href-01.html b/layout/reftests/svg/gradient-href-01.html
new file mode 100644
index 0000000000..32a5fb35b8
--- /dev/null
+++ b/layout/reftests/svg/gradient-href-01.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <base href="/"/>
+ </head>
+ <body bgcolor="lime">
+ <svg width="100%" height="100%">
+ <defs>
+ <linearGradient id="b">
+ <stop offset="0" stop-color="lime"/>
+ <stop offset="1" stop-color="lime"/>
+ </linearGradient>
+ <linearGradient id="a" xlink:href="#b"/>
+ </defs>
+ <rect width="100%" height="100%" fill="red"/>
+ <rect width="100%" height="100%" fill="url(#a)"/>
+ </svg>
+ </body>
+</html>