- From: Sam Weinig via GitHub <sysbot+gh@w3.org>
- Date: Mon, 13 May 2024 19:16:17 +0000
- To: public-css-archive@w3.org
I filed a separate issue on the ambiguity here - https://github.com/w3c/csswg-drafts/issues/10305, as I don't think the current spec text is clear on what the rules are. Regardless of that however, the question posed here remains, as you can just set currentColor as the origin: That is, should: ```css rgb(from currentcolor r g b) ``` and ```css rgba(from currentcolor r g b) ``` serializations maintain the exact spelling of function name. @kbabbitt, the tests you mention, notably, cover the absolute case, which has clear rules about which spelling to do, and those rules are not about what spelling was used at the declaration site, but rather about the resolved value of the alpha channel. As you might not know the value of the alpha channel in a relative color, the exact same rules can't be followed. -- GitHub Notification of comment by weinig Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10327#issuecomment-2108624455 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 13 May 2024 19:16:18 UTC