In CSS Color 5, the serialization of relative colors is defined with the following:
The serialization of the declared value of a relative color function is a string identifying the color function in all-lowercase, followed by "(from ", followed by the serialization of the declared value of the origin color, followed by a single space, followed by a singly-space-separated list of the arguments to the color function, followed by ")".
Does this mean that when serializing rgb(from ...)/rgba(from ...) that the specific spelling as declared, rgb vs rgba should be preserved? Or is ok to canonicalize to one or the other?
Similarly, for hsl(from ...)/hsla(from ...) that the specific spelling as declared, hsl vs hsla should be preserved? Or is ok to canonicalize to one or the other?