summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-calc/background-image-gradient-1.html
blob: 636881eaf118b701829bcb4af5dd206b1c0716a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<title>Test for calc() on background-image gradients</title>
<style>

p {
    height: 50px; width: 200px;
    border: thin solid;
}

#one { background-image: -moz-radial-gradient(calc(50px + 50%) calc(100% - 30px), circle farthest-side, red, green); }
#two { background-image: -moz-linear-gradient(calc(-12.5% + 3px) calc(-10px - 50%) -45deg, blue, yellow); }

</style>
<p id="one"></p>
<p id="two"></p>