From 327b2ae53660562b3a54c3f19f6a11ddb366dc22 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren
Round each of color's components so they are in the range 0 to 255, inclusive. Components are to be colorspace attribute is in the Display P3 state.
Set color to color converted to the 'display-p3' - color space.
Set color to color converted to the 'display-p3' color space.
Return the result of serializing (serialize a CSS <color> value) - color with htmlCompatible set to - htmlCompatible. See issue - #8917 for context.
Return the result of serializing + color. If htmlCompatible is true, then do so with HTML-compatible serialization + requested.