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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-calc/background-image-gradient-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<title>Test for calc() on background-image gradients</title>
     1.6 +<style>
     1.7 +
     1.8 +p {
     1.9 +    height: 50px; width: 200px;
    1.10 +    border: thin solid;
    1.11 +}
    1.12 +
    1.13 +#one { background-image: -moz-radial-gradient(calc(50px + 50%) calc(100% - 30px), circle farthest-side, red, green); }
    1.14 +#two { background-image: -moz-linear-gradient(calc(-12.5% + 3px) calc(-10px - 50%) -45deg, blue, yellow); }
    1.15 +
    1.16 +</style>
    1.17 +<p id="one"></p>
    1.18 +<p id="two"></p>

mercurial