- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 08 May 2020 23:50:13 +0000
- To: public-css-archive@w3.org
Well, your 1st block of code is an actual C switch and the 2nd one is CSS, so it's unfair. But your CSS `switch` doesn't look like that at all. It be converted into that form, but IMO conceptually it's closer to `vector::at`. And while in C `switch` doesn't allow the conditions of your 2nd block, in JS you can. And the concept is basically the same. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5009#issuecomment-626066912 using your GitHub account
Received on Friday, 8 May 2020 23:50:14 UTC