layout/reftests/backgrounds/gradient/scaled-color-stop-position-ref.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <!DOCTYPE html>
     6 <html>
     7 <head>
     8   <title>Color stop positioning for scaled gradients as backgrounds reference</title>
     9   <style type="text/css">
    10 #outer
    11 {
    12   border: 1px solid black;
    13   width: 600px; height: 300px;
    14 }
    15 #inner
    16 {
    17   width: 400px; height: 300px;
    18   /* 250px stop is halfway along 500px diagonal */
    19   background-image: -moz-linear-gradient(top left, lime 0%, teal 250px, black 100%);
    20   background-image: linear-gradient(top left, lime 0%, teal 250px, black 100%);
    21 }
    22   </style>
    23 </head>
    24 <body>
    25 <div id="outer"><div id="inner"></div></div>
    26 </body>
    27 </html>

mercurial