aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-images/linear-gradient-1.html
blob: dcf590f36734222359fb693a286af31731742895 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>Linear gradient with some inferred positions</title>
    <link rel="help" href="https://drafts.csswg.org/css-images-3/#radial-color-stops">
    <meta name="assert" content="Calculation of implicit gradient stops.">
    <link rel="match" href="linear-gradient-ref.html">
    <style>
        #gradient {
            width: 400px;
            height: 300px;
            background-image: linear-gradient(to right, black 0%, red, gold);
        }
    </style>
</head>

<body>
    <div id="gradient"></div>
</body>

</html>