layout/reftests/svg/objectBoundingBox-and-pattern-03.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/objectBoundingBox-and-pattern-03.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
     1.5 +  <title>Testcase for re-using an objectBoundingBox pattern with a &lt;g&gt;
     1.6 +  child</title>
     1.7 +  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=615788-->
     1.8 +  <defs>
     1.9 +  <pattern id="blue" patternContentUnits="objectBoundingBox"
    1.10 +    width="100%" height="100%">
    1.11 +    <g>
    1.12 +      <rect fill="blue" stroke="none" x="0" y="0" width="1" height="1"/>
    1.13 +    </g>
    1.14 +  </pattern>
    1.15 +  </defs>
    1.16 +  <rect fill="url(#blue)" stroke="red" stroke-width="3"
    1.17 +    width="100" height="100"/>
    1.18 +  <rect fill="url(#blue)" stroke="red" stroke-width="3"
    1.19 +    y="100" width="200" height="100"/>
    1.20 +</svg>

mercurial