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

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

#one { background-image: radial-gradient(circle farthest-side at calc(50px + 50%) calc(100% - 30px), red, green); }

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