Thu, 15 Jan 2015 21:13:52 +0100
Remove forgotten relic of ABI crash risk averse overloaded method change.
1 <!DOCTYPE html>
2 <head>
3 <title>CSS Test: Support calc() on gradient stop positions</title>
4 <link rel="author" title="Yu-Sian (Thomasy) Liu" href="https://bugzilla.mozilla.org/show_bug.cgi?id=594935">
5 <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
6 <meta name="flags" content="">
7 <style type="text/css">
8 div {
9 width:100px;
10 height:100px;
11 background:red;
12 margin:5px 0 0 5px;
13 float:left;
14 }
15 div#one {
16 background: linear-gradient(lime 0px, lime calc(100% - 10px), blue calc(100% - 10px), blue 100%);
17 }
18 div#two {
19 background: linear-gradient(blue calc(100% - 100px) ,green calc(10% + 20px) ,red 40px ,white calc(100% - 40px) , lime 80px);
20 }
21 div#three {
22 background: linear-gradient(blue calc(0px) ,purple calc(20%) ,red calc(10px + 10px + 20px) ,blue calc(30% + 30px) , lime calc(180% - 100px));
23 }
24 div#four {
25 background: linear-gradient(blue calc(0% + 0px) ,green calc(10% + 20px) ,red 40px ,blue calc(200% / 2 - 40px) , yellow 80px);
26 }
27 div#five {
28 background: linear-gradient(red calc(100% - 100px) ,green calc(10% + 20px));
29 }
31 </style>
32 </head>
33 <body>
34 <div id="one">1</div>
35 <div id="two">2</div>
36 <div id="three">3</div>
37 <div id="four">4</div>
38 <div id="five">5</div>
39 </body>
40 </html>