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: Fri, 08 May 2020 16:13:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-625891770-1588954392-sysbot+gh@w3.org>
> 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

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