summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-localRef-link.html
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-05 02:00:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-05 02:00:48 +0200
commit6a7071fdead529d92cb27954523b3bfc4b16d1c8 (patch)
tree303622d3452ebd43e8926611e6d89bb2248b9145 /layout/reftests/svg/use-localRef-link.html
parent246edb5332e3d1415a4949a76e09ff951d5e497d (diff)
downloadUXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.tar
UXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.tar.gz
UXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.tar.lz
UXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.tar.xz
UXP-6a7071fdead529d92cb27954523b3bfc4b16d1c8.zip
Part 4. Reftest for using local-ref as xlink:href value.
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>
+
+