Re: [csswg-drafts] [css-variables-2] Custom units as simple variable desugaring (#7379)

To be honest I was going to make the same point. `calc(4 * var(--x))` I can look at and understand without a spec -  not so with`4--x`. I expect it's even worse if you don't know the details of the CSS tokenizer.

Sure I can get used to it, but my first reaction is it's a slightly shorter but considerably less intuitive alternative syntax for something we can already do - increasing cognitive load to save a few characters. Clarity wins over brevity for me, so I don't think it's an improvement.

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


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

Received on Friday, 17 June 2022 14:54:24 UTC