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/out-of-range-color-stop-conic.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>Conic gradient with out-of-range stops</title>
<meta name="assert" content="Rendering of conic-gradient with stops positioned outside of [0, 1]">
<meta name="fuzzy" content="maxDifference=1;totalPixels=40000">
<link rel="match" href="reference/200x200-blue-black-green-red.html">
<style>
#gradient {
width: 200px;
height: 200px;
background-image: conic-gradient(orange -50% -25%, black -25% 25%, red 25% 50%, green 50% 75%, blue 75% 125%, purple 125% 150%);
}
</style>
<div id="gradient"></div>