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.html15
1 files changed, 15 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 0000000000..6f6d6feeb3
--- /dev/null
+++ b/layout/reftests/svg/use-localRef-link.html
@@ -0,0 +1,15 @@
+<!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>
+