Adding reftest for SVG rect with rx _and_ ry attributes.
authorjwatt@jwatt.org
Fri, 04 May 2007 01:05:05 -0700
changeset 1081 ce46e006a2fc1b01afbffaa5cab6fff4044c7fba
parent 1080 db8bad3308b0ffb118e323debbbc22d1ba764275
child 1082 94507555c604aecda90f24b1c48f4174972beb9a
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9a5pre
Adding reftest for SVG rect with rx _and_ ry attributes.
layout/reftests/svg/rect-with-rx-and-ry-01.svg
layout/reftests/svg/reftest.list
new file mode 100755
--- /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/licenses/publicdomain/
+-->
+<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>
--- a/layout/reftests/svg/reftest.list
+++ b/layout/reftests/svg/reftest.list
@@ -7,13 +7,14 @@ fails == foreignObject-01.svg pass.svg
 == foreignObject-display-01.svg pass.svg
 fails == foreignObject-overflow-01.svg pass.svg
 == getElementById-a-element-01.svg pass.svg
 == nested-viewBox-01.svg pass.svg
 fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == opacity-and-gradient-01.svg pass.svg
 == opacity-and-pattern-01.svg pass.svg
 == pseudo-classes-01.svg pass.svg
 # == pseudo-classes-02.svg pseudo-classes-02-ref.svg # crashes linux
+== rect-with-rx-and-ry-01.svg pass.svg
 fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == rect-with-rx-or-ry-01.svg rect-with-rx-or-ry-01-ref.svg
 == rootElement-null-01.svg pass.svg
 == stroke-width-percentage-01.svg pass.svg
 # == text-in-link-01.svg text-in-link-01-ref.svg # crashes linux
 == viewport-percent-graphic-user-01.svg pass.svg