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/layout/reftests/svg/path-05.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
shape-rendering="crispEdges">
<title>Testcase for path arc handling</title>
<rect width="100%" height="100%" fill="lime"/>
<!-- Check that arc paints over entire circle: -->
<circle cx="100" cy="100" r="79" fill="red"/>
<path d="M20,100 A80,80 0,0,1 180,100 A80,80 0,0,1 20,100" fill="lime"/>
<!-- Check that arc does not paint outside circle: -->
<g transform="translate(200,0)">
<path d="M20,100 A80,80 0,0,1 180,100 A80,80 0,0,1 20,100" fill="red"/>
<circle cx="100" cy="100" r="81" fill="lime"/>
</g>
</svg>