layout/reftests/image-element/element-paint-multiple-backgrounds-01-ref.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/licenses/publicdomain/
     4      Multiple -moz-element background images
     5 -->
     6 <!DOCTYPE html>
     7 <html>
     8 <head>
     9 <style>
    11 #box {
    12   height: 100px;
    13   width: 200px;
    14   background: -moz-linear-gradient(lime,lime) top left no-repeat,
    15               -moz-linear-gradient(green,green) top right no-repeat red;
    16   background-size: 100px 100px;
    17 }
    19 div > div {
    20   width: 100px;
    21   height: 100px;
    22 }
    24 </style>
    25 </head>
    26 <body style="margin:0">
    27 <div id="box"></div>
    29 </body>
    30 </html>

mercurial