|
1 <!-- |
|
2 Any copyright is dedicated to the Public Domain. |
|
3 http://creativecommons.org/publicdomain/zero/1.0/ |
|
4 --> |
|
5 <svg xmlns="http://www.w3.org/2000/svg" |
|
6 xmlns:xlink="http://www.w3.org/1999/xlink"> |
|
7 <title>Test for linked pattern scaling</title> |
|
8 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=448906 --> |
|
9 <defs> |
|
10 <pattern id="pattern01" height="20" width="20" |
|
11 patternTransform="scale(0.5)" |
|
12 patternUnits="userSpaceOnUse"> |
|
13 <rect height="20" width="20" fill="lime" /> |
|
14 </pattern> |
|
15 <pattern id="pattern02" xlink:href="#pattern01"/> |
|
16 </defs> |
|
17 <rect width="100%" height="100%" style="fill:url(#pattern02)" transform="scale(2)"/> |
|
18 </svg> |
|
19 |