W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

Re: [csswg-drafts] [css-values] Should math be allowed in bare min()/max()?

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Sep 2017 21:12:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-326684817-1504300322-sysbot+gh@w3.org>
Yes, we're intending that min()/max() allow math in their arguments.

> On the other hand, style of the form `height: calc(max(50px, 100vh - 35px));`

`height: max(50px, calc(100vh - 35px));`, surely?

Anyway, `height: max(50px, 100vh - 35px);` will be allowed. We discussed this exact case back in the meeting where we agreed to add it. I'll go ahead and work on the spec this afternoon. ^_^

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1775#issuecomment-326684817 using your GitHub account
Received on Friday, 1 September 2017 21:12:06 UTC

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