Re: [csswg-drafts] [css-color] Clarification needed on how missing alpha components flow through relative color syntax for hsl/hwb (#10254)

> Is there any part of the specification that indicates that you shouldn't always carry forward analogous missing components during conversions between color spaces?
> 
> 
> 
> I thought this was always required.

Section 4.4 is pretty explicit. 

> For all other purposes, a missing component behaves as a zero value, in the appropriate unit for that component: 0, 0%, or 0deg. This includes rendering the color directly, converting it to another color space, performing computations on the color component values, etc.

https://www.w3.org/TR/css-color-4/#missing

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


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

Received on Saturday, 27 April 2024 22:58:24 UTC