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/legacy-color-gradient.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>Legacy color 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="Legacy colors are interpolated in sRGB color 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, rgb(255, 0, 0), rgb(0, 255, 0));
}
</style>
</head>
<body>
<div class="test"></div>
</body>
</html>