Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-images/gradient/srgb-linear-gradient.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>sRGB-linear gradient interpolation</title>
<meta name="fuzzy" content="maxDifference=1-10;totalPixels=0-24000">
<link rel="author" title="Aaron Krajeski" href="mailto:aaronhk@chromium.org">
<meta name="assert" content="Test sRGB-linear as a gradient interpolation space. Reference generated here: https://raphlinus.github.io/color/2021/01/18/oklab-critique.html">
<link rel="match" href="srgb-linear-gradient-ref.html">
<style>
.test {
width: 480px;
height: 50px;
background: linear-gradient(to right in srgb-linear, rgb(255, 0, 0), rgb(0, 255, 0));
}
</style>
</head>
<body>
<div class="test"></div>
</body>
</html>