summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/multiple-position-color-stop-linear.html
blob: 206fbed20928eb434694f96b675b1de460224870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<title>Linear gradient with a two position color stop</title>
<link rel="help" href="https://drafts.csswg.org/css-images-4/#color-stop-syntax">
<meta name="assert" content="A color stop with two positions create a hard transition">
<link rel="match" href="reference/100x100-blue-green.html">
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-4000">
<style>
#target {
  width: 100px;
  height: 100px;
  background-color: red;
  background-image: linear-gradient(to right, blue 0% 50%, green 50%);
}
</style>
<div id="target"></div>