Status: PASS | Duration: 6ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-images/multiple-position-color-stop-linear-2.html
<!doctype html> <meta charset=utf-8> <title>Linear gradient with a two position color stops</title> <link rel="help" href="https://drafts.csswg.org/css-images-4/#color-stop-syntax"> <meta name="assert" content="Color stops with two positions are equivalent to two color stops with the same color"> <link rel=match href=/css/css-images/multiple-position-color-stop-linear-2-ref.html> <body> <div style="background: linear-gradient(to bottom, red 0% 25%, blue 25% 75%, red 75% 100%); width: 100px; height: 100px;"><br></div> </body>
/css/css-images/multiple-position-color-stop-linear-2-ref.html
<!doctype html> <meta charset=utf-8> <body> <div style="background: linear-gradient(to bottom, red 0%, red 25%, blue 25%, blue 75%, red 75%, red 100%); width: 100px; height: 100px;"><br></div> </body>