W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [css-values]: Express conditional values in a more terse way (#5009)

From: carlosame via GitHub <sysbot+gh@w3.org>
Date: Sat, 09 May 2020 00:02:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-626069334-1588982577-sysbot+gh@w3.org>
> it's unfair.
> [...]
> in JS you can

Well, what is probably unfair is to put a JS example where an if()-else block is shoehorned to a switch.

In any case, I'm not the one taking the final decision on what will be decided, but saying that my function is an `if()` and not a `switch()` (while the other proposal would be a 'real' switch) is biased at best.

-- 
GitHub Notification of comment by carlosame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5009#issuecomment-626069334 using your GitHub account
Received on Saturday, 9 May 2020 00:03:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:06 UTC