Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/geometry/reftests/rect-003.svg - WPT Dashboard Interop Dashboard
<svg width="300" height="200"
<title>Rectangle coordinates and sizes specified by percentage</title>
<html:link rel="match" href="rect-ref.svg" />
<style>
rect {
x: 10%;
y: 30%;
width: 40%;
height: 50%;
fill: blue;
}
</style>
<rect />
</svg>