- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Fri, 08 May 2020 00:25:32 +0000
- To: public-css-archive@w3.org
To be clear, as @bkardell asked me to clarify: The implementation in [my comment above](https://github.com/w3c/csswg-drafts/issues/5009#issuecomment-625553284) is basically the `switch()` version (only I misunderstood @tabatkins, and I only used the semicolon for the index, so it's `switch(<i>; v1, v2, v3, ...)`). It does handle CSS variables as in Tab's examples just fine. Of course the fallback I chose is quite debatable (just return the last argument if the index is negative or out of bounds), and so on, but... :) -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5009#issuecomment-625563395 using your GitHub account
Received on Friday, 8 May 2020 00:25:34 UTC