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: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 May 2020 16:33:00 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-625900301-1588955579-sysbot+gh@w3.org>
> The last value is the closest that we have to "author's intent".

My point is that the last value isn't guaranteed to be closer to their intent than *any other value*.

That said, 

> Also, we are talking about media queries that could apply to media that is not being frequently tested/verified.

...this is pretty reasonable, and does lean me towards clamping rather than invalidating large values.

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

Yes, that's what I was saying. ^_^

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5009#issuecomment-625900301 using your GitHub account
Received on Friday, 8 May 2020 16:33:05 UTC

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