Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/painting/reftests/paint-fill-oklch.svg - WPT Dashboard Interop Dashboard
<svg id="svg-root"
width="480" height="360" viewBox="0 0 480 360"
<g id="testmeta">
<title>Paint: CSS Color 4 syntax for 'fill' (oklch)</title>
<html:link rel="author"
title="Chris Lilley"
<html:link rel="help"
<html:link rel="help"
<html:link rel="match" href="paint-fill-ref.svg" />
<html:meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-14400" />
</g>
<style>
#test { fill: oklch(0.6 0.1 170); }
</style>
<rect id="test" width="120" height="120" x="10" y="10"/>
</svg>