summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/multiple-position-color-stop-radial.html
blob: 4b4fd95c4ec21307eee1e2f287f1b0db1d6d1490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<title>Radial 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">
<style>
#target {
  width: 100px;
  height: 100px;
  background-color: red;
  background-image: radial-gradient(ellipse 50px 10000px at 0px 50px, blue 0% 50px, green 50px);
}
</style>
<div id="target"></div>