summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/linking/reftests/href-use-element-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/linking/reftests/href-use-element-ref.html')
-rw-r--r--testing/web-platform/tests/svg/linking/reftests/href-use-element-ref.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/linking/reftests/href-use-element-ref.html b/testing/web-platform/tests/svg/linking/reftests/href-use-element-ref.html
new file mode 100644
index 0000000000..93577b7643
--- /dev/null
+++ b/testing/web-platform/tests/svg/linking/reftests/href-use-element-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>href - use element reference</title>
+<body>
+ <svg style="display: none">
+ <rect id='refRect' style="fill: red" width="100" height="100" />
+ </svg>
+ <svg width="300" height="300" viewBox="0 0 300 300"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <use xlink:href="#refRect"/>
+ </svg>
+</body>