layout/reftests/image-element/gradient-html-04.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-04.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/licenses/publicdomain/
     1.7 +-->
     1.8 +<!DOCTYPE html>
     1.9 +<html>
    1.10 +<head>
    1.11 +<style>
    1.12 +.unit { display:inline-block; width:100px; height:1px; }
    1.13 +</style>
    1.14 +</head>
    1.15 +<body style="margin:0; width:350px; line-height:100px;">
    1.16 +  <span class="unit"></span><span class="unit"
    1.17 +  ></span><span style="background:-moz-element(#g)"><span class="unit"></span><span class="unit"
    1.18 +  ></span></span>
    1.19 +
    1.20 +  <svg>
    1.21 +    <linearGradient id="g" x2="0" y2="1">
    1.22 +      <stop stop-color="lime" offset="0"></stop>
    1.23 +      <stop stop-color="lime" offset="1"></stop>
    1.24 +    </linearGradient>
    1.25 +  </svg>
    1.26 +</body>
    1.27 +</html>

mercurial