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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial