layout/reftests/image-element/pattern-html-01.html
author Margareta Eliza Balazs <ebalazs@mozilla.com>
Thu, 11 Jan 2018 22:32:27 +0200
changeset 398876 0524b54f7f9dc0568a55b5d70fef4180d4cb1838
parent 50431 9fd11a17eb1a4edd4e783595e62bc676e541e2d0
permissions -rw-r--r--
Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE

<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/licenses/publicdomain/

     Test painting simple patterns with offsets.
-->
<!DOCTYPE html>
<html>
<body style="margin:0">
  <div style="width:100px; height:100px; background:-moz-element(#p);"></div>
  <div style="margin-top:100px; width:100px; height:100px;
              background:-moz-element(#p); background-position:-10px -10px;"></div>

  <svg>
    <pattern id="p" patternUnits="userSpaceOnUse"
             x="0" y="0" width="50" height="50">
      <rect x="10" y="10" width="10" height="10" fill="lime"></rect>
    </pattern> 
  </svg>
</body>
</html>