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

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:ae62c641e495
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