layout/reftests/image-element/pattern-html-01.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/image-element/pattern-html-01.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/licenses/publicdomain/
     1.7 +
     1.8 +     Test painting simple patterns with offsets.
     1.9 +-->
    1.10 +<!DOCTYPE html>
    1.11 +<html>
    1.12 +<body style="margin:0">
    1.13 +  <div style="width:100px; height:100px; background:-moz-element(#p);"></div>
    1.14 +  <div style="margin-top:100px; width:100px; height:100px;
    1.15 +              background:-moz-element(#p); background-position:-10px -10px;"></div>
    1.16 +
    1.17 +  <svg>
    1.18 +    <pattern id="p" patternUnits="userSpaceOnUse"
    1.19 +             x="0" y="0" width="50" height="50">
    1.20 +      <rect x="10" y="10" width="10" height="10" fill="lime"></rect>
    1.21 +    </pattern> 
    1.22 +  </svg>
    1.23 +</body>
    1.24 +</html>

mercurial