summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image-element/gradient-html-03.html
blob: cfb9b7b0d37ab6a9ed7fbc0f6ba4316875e6f68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/licenses/publicdomain/
-->
<!DOCTYPE html>
<html>
<body style="margin:0">
  <div style="width:100px; height:100px; background:-moz-element(#g);">
    <div style="height:100px;"></div>
    <div style="width:100px; height:100px; background:blue;"></div>
  </div>
  <svg>
    <linearGradient gradientUnits="userSpaceOnUse" id="g" x2="0" y2="100">
      <stop stop-color="lime" offset="0"></stop>
      <stop stop-color="lime" stop-opacity="0" offset="1"></stop>
    </linearGradient>
  </svg>
</body>
</html>