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/gradient-single-stop-increasing-hue-oklch.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Single stop gradient in OkLCH space with increasing hue interpolation method</title>
<meta name="assert" content="Tests that a single-stop increasing-hue gradient just renders a solid color">
<link rel="match" href="gradient-single-stop-increasing-hue-oklch-ref.html">
<style>
#target {
width: 100px;
height: 100px;
background-image: linear-gradient(to right in oklch increasing hue, red 50%);
}
</style>
<div id="target"></div>