Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://raw.githubusercontent.com/mozilla-firefox/firefox/main/testing/web-platform/tests/svg/painting/reftests/paint-fill-rec2020.svg
<svg id="svg-root"
width="480" height="360" viewBox="0 0 480 360"
<g id="testmeta">
<title>Paint: CSS Color 4 syntax for 'fill' (rec2020)</title>
<html:link rel="author"
title="Chris Lilley"
href="http://svgees.us" />
<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: color(rec2020 0.4203502 0.5829114 0.5022449); }
</style>
<rect id="test" width="120" height="120" x="10" y="10"/>
</svg>