summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/geometry/reftests/rect-003.svg
blob: d3d7c5abb406c1de8f6c2342da01fe06b1c058c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<svg width="300" height="200"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:html="http://www.w3.org/1999/xhtml">
  <title>Rectangle coordinates and sizes specified by percentage</title>
  <html:link rel="help" href="https://svgwg.org/svg2-draft/geometry.html"/>
  <html:link rel="match"  href="rect-ref.svg" />
  <style>
    rect {
      x: 10%;
      y: 30%;
      width: 40%;
      height: 50%;
      fill: blue;
    }
  </style>
  <rect />
</svg>