summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/normalization-linear.html
blob: e46645631afa45fc031ffc5fb092d7b6c1e7e660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<meta charset="utf-8">
<title>Linear gradient stop normalization</title>
<link rel="help" href="https://drafts.csswg.org/css-images-3/#linear-gradients">
<meta name="assert" content="Rendering of linear-gradient with normalized color stops">
<link rel="match" href="reference/100x100-blue.html">
<style>
  #gradient {
    width: 100px;
    height: 100px;
    background-image: linear-gradient(green -50%, blue -50%);
  }
</style>
<div id="gradient"></div>