author Margareta Eliza Balazs <>
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.

     Test painting simple patterns with offsets.
<!DOCTYPE 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>

    <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>