summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/rect-with-rx-and-ry-01.svg
blob: 081314b5ac9ba7296683ec1715524f6eb30c5791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>