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