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-gradient.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>sRGb gradient interpolation</title>
<meta name="fuzzy" content="maxDifference=1-2;totalPixels=0-24000">
<link rel="author" title="Aaron Krajeski" href="mailto:aaronhk@chromium.org">
<meta name="assert" content="Test srgb as a gradient interpolation space. Reference generated here: https://raphlinus.github.io/color/2021/01/18/oklab-critique.html">
<link rel="match" href="srgb-gradient-ref.html">
<style>
.test {
width: 480px;
height: 50px;
background: linear-gradient(to right in srgb, rgb(255 0 0), rgb(0 255 0));
}
</style>
</head>
<body>
<div class="test"></div>
</body>
</html>