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

`nth-value` is what jvm people would call a `tableswitch`, and is a common optimization of the c-style switch. the other `switch` proposal is unusual by c standards, but is however a lot closer to what ecmascript calls a `switch`, and given the user community overlap, is probably going to win the name if both proposals are going to be seriously considered.

at any rate, `nth-value`/`tableswitch` seems both extremely useful and relatively easy to do, so i hope there's implementer interest.

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


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

Received on Saturday, 8 August 2020 01:48:00 UTC