summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/struct/reftests/use-no-tspan.svg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/struct/reftests/use-no-tspan.svg')
-rw-r--r--testing/web-platform/tests/svg/struct/reftests/use-no-tspan.svg10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/struct/reftests/use-no-tspan.svg b/testing/web-platform/tests/svg/struct/reftests/use-no-tspan.svg
new file mode 100644
index 0000000000..5368ca343c
--- /dev/null
+++ b/testing/web-platform/tests/svg/struct/reftests/use-no-tspan.svg
@@ -0,0 +1,10 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
+ <title>Testing that 'use' cannot make 'tspan' elements visible</title>
+ <h:link rel="match" href="reference/green-100x100.svg"/>
+ <defs>
+ <text><tspan id="t" x="20" y="100" fill="red" font-size="36">Should not see this</tspan></text>
+ </defs>
+ <rect width="100" height="100" fill="green"/>
+
+ <use href="#t"/>
+</svg>