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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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</title>
     9   <style type="text/css">
    10 #outer
    11 {
    12   border: 1px solid black;
    13   width: 600px; height: 300px;
    14   /* 250px stop is halfway along 500px diagonal */
    15   background-image: -moz-linear-gradient(top left, lime 0%, teal 250px, black 100%);
    16   background-image: linear-gradient(top left, lime 0%, teal 250px, black 100%);
    17   background-size: 400px auto;
    18   background-repeat: no-repeat;
    19 }
    20   </style>
    21 </head>
    22 <body>
    23 <div id="outer"></div>
    24 </body>
    25 </html>

mercurial