layout/reftests/image-element/gradient-html-05.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/licenses/publicdomain/
michael@0 4 -->
michael@0 5 <!DOCTYPE html>
michael@0 6 <html>
michael@0 7 <head>
michael@0 8 <style>
michael@0 9 .unit { display:inline-block; width:100px; height:1px; background:blue; }
michael@0 10 </style>
michael@0 11 </head>
michael@0 12 <body style="margin:0; width:300px; line-height:100px;">
michael@0 13 <span class="unit"></span><span class="unit"
michael@0 14 ></span><span style="background:-moz-element(#g)"><span class="unit"></span><span class="unit"
michael@0 15 ></span></span>
michael@0 16
michael@0 17 <svg>
michael@0 18 <linearGradient gradientUnits="userSpaceOnUse" id="g" x1="0" y1="0" x2="200" y2="0">
michael@0 19 <stop stop-color="lime" stop-opacity="0" offset="0"></stop>
michael@0 20 <stop stop-color="lime" stop-opacity="0" offset="0.5"></stop>
michael@0 21 <stop stop-color="lime" offset="0.5"></stop>
michael@0 22 <stop stop-color="lime" offset="1"></stop>
michael@0 23 </linearGradient>
michael@0 24 </svg>
michael@0 25 </body>
michael@0 26 </html>

mercurial