layout/reftests/css-gradients/linear-repeat-1g.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-gradients/linear-repeat-1g.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +<body style="overflow:hidden">
     1.5 +<div style="background: -moz-linear-gradient(black, black 50px, white 50px, white 100px, black 100px, black 150px, white 150px, white 200px);
     1.6 +            background-size: 300px 200px; background-repeat: no-repeat;
     1.7 +            width: 800px; height: 800px;
     1.8 +            margin-bottom: -600px;"></div>
     1.9 +<!-- making the gradient actually be 300px high isn't reliable since
    1.10 +     the stop positions cannot be exactly represented and rounding errors
    1.11 +     creep in. So just let the gradient be 200px high and pad out to match
    1.12 +     the reference. -->
    1.13 +<div style="background: black; width: 300px; height: 50px;"></div>
    1.14 +<div style="background: white; width: 300px; height: 50px;"></div>
    1.15 +</body>

mercurial