summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/linear-gradient-2.html
blob: a9dca048b1ae09e4bcc5afe3893d1b45b79e965c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<meta charset="utf-8">
<title>Linear gradient with all inferred positions</title>
<link rel="help" href="https://drafts.csswg.org/css-images-3/#coloring-gradient-line">
<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, red, gold);
  }
</style>
<div id="gradient"></div>