Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-images/gradient/css-color-4-colors-default-to-oklab-gradient.html
<!DOCTYPE html> <html> <head> <title>CSS color 4 colors default to OKLab gradient interpolation</title> <meta name="fuzzy" content="maxDifference=1-12;totalPixels=0-24000"> <link rel="author" title="Aaron Krajeski" href="mailto:aaronhk@chromium.org"> <link rel="help" href="https://www.w3.org/TR/css-color-4/#interpolation"> <meta name="assert" content="Test that new color inputs default to OKLab for gradient interpolation when none is provided. Reference generated here: https://raphlinus.github.io/color/2021/01/18/oklab-critique.html"> <link rel="match" href="oklab-gradient-ref.html"> <style> .test { width: 480px; height: 50px; background: linear-gradient(to right, rgb(255, 0, 0), color(srgb 0 1 0)); } </style> </head> <body> <div class="test"></div> </body> </html>
/css/css-images/gradient/oklab-gradient-ref.html
<!DOCTYPE html> <html> <head> <title>OKLab gradient interpolation</title> <link rel="author" title="Aaron Krajeski" href="mailto:aaronhk@chromium.org"> <link rel="help" href="https://www.w3.org/TR/css-color-4/#interpolation"> <meta name="assert" content="Test OKLab as a gradient interpolation space. Reference generated here: https://raphlinus.github.io/color/2021/01/18/oklab-critique.html"> <style> .test { width: 480px; height: 50px; background: url("resources/oklab-gradient.png"); } </style> </head> <body> <div class="test"></div> </body> </html>