Re: [csswg-drafts] [css-color-5] Should colors nested in a parent color function (RCS, color-mix, light-dark, color-contrast) serialize in their most precision saving form (#10328)

@cdoublev @weinig OK so proposed adjusted text (percentages as number, clamped alpha, clarified when to omit alpha):

> followed by a space separated list of the non-alpha channel arguments as specified 
 (identifiers serializing as identifiers, 
 numbers and percentages serializing as numbers, 
 angles serializing as canonicalized angles in degrees, 
 calc() serializing in its simplified form), 
 followed (if the alpha component is non-unity) 
 by " / " and the alpha component as specified 
 (using the same rules as the color channel arguments, but clamped) 
 followed by ")".

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10328#issuecomment-3270428366 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 9 September 2025 12:13:01 UTC