Re: [csswg-drafts] [css-color-5] Relative color syntax, @color-profile named channels, and the 'e' constant (#6416)

>  I suspect we will add new numeric constants very rarely, if ever, and when we do, they'll generally be multi-letter

Please note that there is no restriction to color components being single letter. `alpha` is already multi-letter, and the `components` descriptor can be used to name components with any ident. 

I think it's more author-friendly to ban the constants from being valid component names, though it does introduce potential backwards compat issues, as you point out.

A third idea would be to have special syntax for the constants instead of just bare idents which are likely to produce more conflicts in the future. E.g. `const(pi)` or `const-pi`.

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


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

Received on Thursday, 1 July 2021 13:11:14 UTC