Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/clipPath-and-shape-rendering-01-ref.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Test that shape-rendering hint affects clipping</title>
<desc>
By not setting explict shape-rendering attribute, this test tells browsers to
apply anti-aliasing to all shape's rendering. And this test checks the hint
correctly affects clip-path, too.
</desc>
<defs>
<g id="circles">
<circle cx="50" cy="50" r="50" fill="lime"/>
<circle cx="150" cy="50" r="50" fill="lime"/>
</g>
</defs>
<use xlink:href="#circles"/>
</svg>