layout/reftests/svg/clip-02b.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/clip-02b.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1" direction="rtl">
     1.9 +    
    1.10 +  <title>Testcase for clip property</title>
    1.11 +
    1.12 +  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=481614 -->
    1.13 +
    1.14 +  <svg clip="auto">
    1.15 +    <rect x="10" y="10" width="100" height="100" fill="lime"/>
    1.16 +  </svg>
    1.17 +
    1.18 +  <svg clip="rect(auto, 110, 310, 10)">
    1.19 +    <rect y="210" width="120" height="110" fill="red" />
    1.20 +    <rect x="10" y="210" width="100" height="100" fill="lime"/>
    1.21 +  </svg>
    1.22 +
    1.23 +  <svg clip="rect(210, auto, 310, 210)">
    1.24 +    <rect x="200" y="200" width="110" height="120" fill="red" />
    1.25 +    <rect x="210" y="210" width="100" height="100" fill="lime"/>
    1.26 +  </svg>
    1.27 +
    1.28 +  <svg clip="rect(410, 110, auto, 10)">
    1.29 +    <rect y="400" width="120" height="110" fill="red" />
    1.30 +    <rect x="10" y="410" width="100" height="100" fill="lime"/>
    1.31 +  </svg>
    1.32 +
    1.33 +  <svg clip="rect(410, 310, 510, auto)">
    1.34 +    <rect x="210" y="400" width="110" height="120" fill="red" />
    1.35 +    <rect x="210" y="410" width="100" height="100" fill="lime"/>
    1.36 +  </svg>
    1.37 +</svg>

mercurial