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/linked-pattern-01.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Test for linked pattern scaling</title>
<defs>
<pattern id="pattern01" height="20" width="20"
patternTransform="scale(0.5)"
patternUnits="userSpaceOnUse">
<rect height="20" width="20" fill="lime" />
</pattern>
<pattern id="pattern02" xlink:href="#pattern01"/>
</defs>
<rect width="100%" height="100%" style="fill:url(#pattern02)" transform="scale(2)"/>
</svg>