Re: [csswg-drafts] [css-color-5] Define the behavior of missing channels in the relative color syntax (#7771)

Yes for 1, no for 2. We should do the carry-forward of missing channels to analogous channels in the RCS colorspace, but then treat those missing channels as 0 in the calculation part.

This matches what we do by default - we only carry-forward missing-ness *if* we know that two components serve essentially identical purposes in both the starting and ending color space. In all other cases (such as a missing hue converting into an RGB space) we just treat it as zero; in RCS we have *no way* of knowing what the author is doing with the channel values to produce the final color, so we have to be conservative and treat this like the general case.

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


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

Received on Thursday, 26 January 2023 18:56:18 UTC