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/clipPath-basic-04.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<title>Testcase for clipPath with animateTransform</title>
<defs>
<clipPath id="clip">
<rect width="100%" height="100%" fill="lime"/>
<animateTransform attributeName="transform" type="scale" values="1"/>
</clipPath>
</defs>
<rect width="100%" height="100%" fill="red"/>
<rect width="100%" height="100%" fill="lime" clip-path="url(#clip)"/>
</svg>