layout/reftests/css-blending/background-blending-background-size-cover.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 <!-- Blend a background image and a background color specifying background-size: cover  -->
     2 <!DOCTYPE HTML>
     3 <html>
     4 <head>
     5 <style>
     6 div {
     7   background: url('as-image/white_square.svg'), #777777;
     8   background-size: cover;
     9   width: 200px;
    10   height: 200px;
    11   margin: 10px;
    12   background-blend-mode: multiply;
    13 }
    14 </style>
    15 </head>
    17 <body>
    18   <div></div>
    19 </body>
    20 </html>

mercurial