summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/rect-with-rx-and-ry-01.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/rect-with-rx-and-ry-01.svg')
-rw-r--r--layout/reftests/svg/rect-with-rx-and-ry-01.svg21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/svg/rect-with-rx-and-ry-01.svg b/layout/reftests/svg/rect-with-rx-and-ry-01.svg
new file mode 100644
index 0000000000..081314b5ac
--- /dev/null
+++ b/layout/reftests/svg/rect-with-rx-and-ry-01.svg
@@ -0,0 +1,21 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
+
+ <title>Testcase for rect with both rx and ry set</title>
+
+ <!-- This is an additional test (i.e. not from a Mozilla bug) -->
+
+ <rect width="100%" height="100%" fill="lime"/>
+
+ <!-- check that rect with rx and ry is drawn -->
+ <circle cx="50" cy="50" r="48" fill="red"/>
+ <rect width="100" height="100" rx="50" ry="50" fill="lime"/>
+
+ <!-- check rx and ry aren't ignored -->
+ <rect x="110" width="100" height="100" rx="50" ry="50" fill="red"/>
+ <circle cx="160" cy="50" r="52" fill="lime"/>
+
+</svg>