Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <!DOCTYPE HTML>
2 <title>Test for calc() on background-image gradients</title>
3 <style>
5 p {
6 height: 50px; width: 200px;
7 border: thin solid;
8 }
10 #one { background-image: -moz-radial-gradient(calc(50px + 50%) calc(100% - 30px), circle farthest-side, red, green); }
11 #two { background-image: -moz-linear-gradient(calc(-12.5% + 3px) calc(-10px - 50%) -45deg, blue, yellow); }
13 </style>
14 <p id="one"></p>
15 <p id="two"></p>