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
Родитель ab3fea0d39
Коммит 1df21f4ff1
2 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

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

После

Ширина:  |  Высота:  |  Размер: 682 B

Просмотреть файл

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