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

> sometimes we do want things to fail obviously

The declaration being invalid is not necessarily more obvious than the last value being applied. Depends on the document and the style sheet. Also, we are talking about media queries that could apply to media that is not being frequently tested/verified. The last value is the closest that we have to "author's intent".

> switch(calc(100000); ...) [...] authors could activate the behavior manually if they want

If you mean putting `calc()` at the _switch_ itself, that prevents explicit invalidation because `calc()` is supposed to clamp.

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

Received on Friday, 8 May 2020 16:13:16 UTC