Status: PASS | Duration: 6ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-images/gradient/gradient-single-stop-longer-hue-hsl.html
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Gradient in HSL space</title> <meta name="fuzzy" content="maxDifference=0-15;totalPixels=0-90000"> <link rel="author" title="Ashley Hale" href="mailto:ahale@mozilla.com"> <link rel="help" href="https://www.w3.org/TR/css-color-4/#interpolation"> <meta name="assert" content="Tests that a single-stop longer-hue gradient just renders a solid color"> <link rel="match" href="gradient-single-stop-longer-hue-hsl-ref.html"> <style> body { background: #fff; } div { width: 300px; height: 300px; background-image: linear-gradient(in hsl longer hue 0deg, hsl(0, 100%, 50%) 0 0); } </style> </head> <body> <div></div> </body> </html>
/css/css-images/gradient/gradient-single-stop-longer-hue-hsl-ref.html
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Gradient in HSL space</title> <style> body { background: #fff; } div { width: 300px; height: 300px; background-color: hsl(0, 100%, 50%); } </style> </head> <body> <div></div> </body> </html>