chromium/third_party/blink/web_tests/svg/custom/pattern-referencing-preserve-aspect-ratio.svg

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <defs>
        <pattern id="pattern1"  patternUnits="userSpaceOnUse" preserveAspectRatio="xMinYMid" x="-20" y="0" width="100" height="80" viewBox="0 0 20 40">
            <rect x='.5' y='.5' width='29' height='39' fill='black' stroke='red'/>
            <g transform='translate(0, 5)'>
                <circle cx='15' cy='15' r='10' fill='yellow'/>
                <circle cx='12' cy='12' r='1.5' fill='black'/>
                <circle cx='17' cy='12' r='1.5' fill='black'/>
                <path d='M 10 19 A 8 8 0 0 0 20 19' stroke='black' stroke-width='2'/>
            </g>
        </pattern>
        <pattern id="pattern2" x="80" xlink:href="#pattern1" viewBox="0 0 20 40"/>
    </defs>
    <rect x="80" y="0" width="20" height="80" fill="url(#pattern1)"/>
    <rect x="100" y="0" width="40" height="80" fill="url(#pattern2)"/>
</svg>