Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/testing/web-platform/tests/svg/geometry/reftests/circle-003.svg
<svg width="340" height="140"
<title>Circle coordinates and radius specified by percentage</title>
<html:link rel="help" href="https://svgwg.org/svg2-draft/geometry.html"/>
<html:link rel="match" href="circle-ref.svg" />
<html:meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-2" />
<style>
circle {
cx: 60%; /* 60% of width 340 */
cy: 40%; /* 40% of height 140 */
r: 25%; /* 25% of normalized diagonal 260 */
fill: blue;
}
</style>
<circle />
</svg>