layout/reftests/image-element/gradient-html-07a.html
author Margareta Eliza Balazs <ebalazs@mozilla.com>
Thu, 11 Jan 2018 22:32:27 +0200
changeset 398876 0524b54f7f9dc0568a55b5d70fef4180d4cb1838
parent 139335 783e53214215836d14431eeb079d22249df8882f
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 that diagonal repeating SVG gradients as -moz-element render the same as
     CSS gradients.
-->
<!DOCTYPE html>
<html>
<body style="margin:0">
  <div style="width:300px; height:300px; background-image:-moz-element(#g); background-size: 100px 100px;"></div>
  <svg>
    <linearGradient id="g" gradientUnits="objectBoundingBox" x2="1" y2="1">
      <stop stop-color="lime" offset="0"></stop>
      <stop stop-color="black" offset="1"></stop>
    </linearGradient>
  </svg>
</body>
</html>