summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-localRef-link.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/use-localRef-link.html')
-rw-r--r--layout/reftests/svg/use-localRef-link.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/svg/use-localRef-link.html b/layout/reftests/svg/use-localRef-link.html
new file mode 100644
index 000000000..672e9ffaa
--- /dev/null
+++ b/layout/reftests/svg/use-localRef-link.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<head>
+<base href="/test">
+</head>
+<body style="background-color: lime;">
+ <svg width="100" height="100">
+ <defs>
+ <rect id="a" x="0" y="0" width="50" height="50" fill="lime"/>
+ </defs>
+ <rect x="0" y="0" width="50" height="50" fill="red"/>
+ <use xlink:href="#a"/>
+ </svg>
+</body>
+</html>
+
+