summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/textPath-06.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/textPath-06.svg')
-rw-r--r--layout/reftests/svg/textPath-06.svg19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/svg/textPath-06.svg b/layout/reftests/svg/textPath-06.svg
new file mode 100644
index 0000000000..1cff33a780
--- /dev/null
+++ b/layout/reftests/svg/textPath-06.svg
@@ -0,0 +1,19 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <path id="path" d="" />
+ </defs>
+
+ <rect fill="lime" width="100%" height="100%"/>
+
+ <text y="50" font-size="50" fill="red" >
+ <textPath path="">Empty paths should be invisible</textPath>
+ </text>
+
+ <text y="100" font-size="50" fill="red" >
+ <textPath href="#path">Empty paths should be invisible</textPath>
+ </text>
+
+ <text y="150" font-size="50" fill="red" >
+ <textPath>No path at all should be invisible too</textPath>
+ </text>
+</svg>