Adding reftest for SVG rect with rx _and_ ry attributes.

This commit is contained in:
jwatt@jwatt.org 2007-05-04 01:05:05 -07:00
parent 8f64a47ebc
commit 50aa0beec0
2 changed files with 22 additions and 0 deletions

View File

@ -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>

After

Width:  |  Height:  |  Size: 682 B

View File

@ -12,6 +12,7 @@ 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