wpt / css / css-images / normalization-linear.html

Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-images/normalization-linear.html

<!doctype html>
<meta charset="utf-8">
<title>Linear gradient stop normalization</title>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<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">
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-40000">
<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>

/css/css-images/reference/100x100-blue.html

<!doctype html>
<div style="width: 100px;height: 100px;background-color: blue;"></div>