layout/reftests/image-element/gradient-html-07a.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/image-element/gradient-html-07a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/licenses/publicdomain/
     1.7 +     Test that diagonal repeating SVG gradients as -moz-element render the same as
     1.8 +     CSS gradients.
     1.9 +-->
    1.10 +<!DOCTYPE html>
    1.11 +<html>
    1.12 +<body style="margin:0">
    1.13 +  <div style="width:300px; height:300px; background-image:-moz-element(#g); background-size: 100px 100px;"></div>
    1.14 +  <svg>
    1.15 +    <linearGradient id="g" gradientUnits="objectBoundingBox" x2="1" y2="1">
    1.16 +      <stop stop-color="lime" offset="0"></stop>
    1.17 +      <stop stop-color="black" offset="1"></stop>
    1.18 +    </linearGradient>
    1.19 +  </svg>
    1.20 +</body>
    1.21 +</html>

mercurial