layout/reftests/css-calc/background-image-gradient-1.html

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:6020339653e8
1 <!DOCTYPE HTML>
2 <title>Test for calc() on background-image gradients</title>
3 <style>
4
5 p {
6 height: 50px; width: 200px;
7 border: thin solid;
8 }
9
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); }
12
13 </style>
14 <p id="one"></p>
15 <p id="two"></p>

mercurial