- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Sat, 25 Mar 2023 15:52:50 +0000
- To: public-css-archive@w3.org
That will not work with the feature we're discussing here; it's for concatenating strings to produce strings, not concatenating raw CSS text to produce more raw CSS text which is then parsed. You'd just get the string `"100%"`, which is invalid as an argument to `hsl()`. What you're asking for is already possible with calc(). `calc(var(--s) * 1%)` "converts" a plain number into a percentage (or any other unit). -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/542#issuecomment-1483855848 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 25 March 2023 15:52:52 UTC