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.

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

mercurial