summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/stroke-dasharray-03.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/svg/stroke-dasharray-03.svg20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/svg/stroke-dasharray-03.svg b/layout/reftests/svg/stroke-dasharray-03.svg
new file mode 100644
index 0000000000..b8dd8928c2
--- /dev/null
+++ b/layout/reftests/svg/stroke-dasharray-03.svg
@@ -0,0 +1,20 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg">
+
+ <title>Test the start point and direction of dashing on rect</title>
+
+ <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=1122578 -->
+
+ <rect width="100%" height="100%" fill="lime"/>
+
+ <rect x="20" y="20" width="100" height="60" fill="none" stroke="red" stroke-width="10" stroke-dasharray="120,10000"/>
+ <path d="M20,20 h100 v20" fill="none" stroke="lime" stroke-width="10"/>
+
+ <rect x="20" y="100" width="100" height="60" fill="none" stroke="red" stroke-width="10" stroke-dasharray="120,10000" rx="10" ry="10"/>
+ <path d="M30,100 h80 a10,10 0 0 1 10,10 v25" fill="none" stroke="lime" stroke-width="14"/>
+
+</svg>
+