- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 05 Jun 2019 02:19:00 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-sizing] Define fit-content using clamp() == https://drafts.csswg.org/css-sizing-3/#fit-content-size defines fit-content as > min(max-content size, max(min-content size, stretch-fit size)) At first sight it may not be completely obvious what that formula represents. To avoid this kind of confusions, css-values added [clamp()](https://drafts.csswg.org/css-values/#funcdef-clamp), so why not use it? > clamp(min-content size, stretch-fit size, max-content size) Seems clearer to me. (Note the desugaring is different, but this doesn't matter because min-content <= max-content) Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4006 using your GitHub account
Received on Wednesday, 5 June 2019 02:19:01 UTC