layout/reftests/svg/non-scaling-stroke-02-ref.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/non-scaling-stroke-02-ref.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" overflow="hidden">
     1.5 +<style type="text/css" >
     1.6 +rect {
     1.7 +  stroke-width: 30px;
     1.8 +}
     1.9 +</style>
    1.10 +<defs>
    1.11 +  <linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%">
    1.12 +    <stop offset="0" stop-color="blue"/>
    1.13 +    <stop offset="1" stop-color="yellow"/>
    1.14 +  </linearGradient>
    1.15 +  <linearGradient id="grad2" x1="360" y1="500" x2="560" y2="600" gradientUnits="userSpaceOnUse" gradientTransform="scale(0.25,1)">
    1.16 +    <stop offset="0" stop-color="blue"/>
    1.17 +    <stop offset="1" stop-color="yellow"/>
    1.18 +  </linearGradient>
    1.19 +  <pattern id="pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse" patternTransform="scale(1,0.5), skewX(45)">
    1.20 +    <rect x="0" y="0" width="20" height="20" fill="red"/>
    1.21 +    <rect x="20" y="0" width="20" height="20" fill="green"/>
    1.22 +    <rect x="0" y="20" width="20" height="20" fill="blue"/>
    1.23 +    <rect x="20" y="20" width="20" height="20" fill="yellow"/>
    1.24 +  </pattern>
    1.25 +  <rect id="rect" width="200" height="100" fill="none"/>
    1.26 +</defs>
    1.27 +
    1.28 +<rect x="40" y="40" width="200" height="100" fill="none" stroke="url(#grad1)"/>
    1.29 +
    1.30 +<rect x="40" y="200" width="200" height="100" fill="none" stroke="url(#grad2)" />
    1.31 +
    1.32 +<use xlink:href="#rect" transform="translate(40, 360)" stroke="url(#pattern)"/>
    1.33 +
    1.34 +<use xlink:href="#rect" x="40" y="520" stroke="green"/>
    1.35 +
    1.36 +</svg>

mercurial