- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 23 May 2018 16:13:14 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `Allow fr units as min`, and agreed to the following: * `RESOLVED: Add fr unit support inside minmax for Grid L2.` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: Allow fr units as min<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/2611<br> <dael> fantasai: Based on rachelandrew I say we allow length or % but not content based keywords<br> <fantasai> https://github.com/w3c/csswg-drafts/issues/2611#issuecomment-386469857<br> <dael> fantasai: We limited what you can put in min position of minmax in L1 because the requests came late. One of the use cases was I want fr with a cap of 250px<br> <dael> fantasai: We wanted that tow ork. Figured out it's straight forward if there's not content based keywords<br> <dael> fantasai: Open questions are do we want to, I think yes. 2) allow % in max position and I think we should. 3) Should we allow content based kewords in max position- no clear use case and complex to impl so I think start with no<br> <dael> fantasai: 4) Do we want to allow a 3 argument minmax where you have some kind of explicit min like a content keyword or a length and then an fr unit in the middle and a max in the top<br> <dael> Rossen: Let's go separate. fr unit as a part of minmax first and see if we can resolve. Then 3 value<br> <dael> Rossen: Are there additional comments or ideas about support of fr units?<br> <dael> Rossen: proposed addition of fr unit support inside minmax for Grid L2. Objections?<br> <dael> RESOLVED: Add fr unit support inside minmax for Grid L2.<br> <fantasai> s/inside/as min arg inside/<br> <fantasai> minmax(1fr, 250px) is accepted<br> <dael> Rossen: Secondary issue is should we allow an additional 3rd functional value in the middle of min and max used for flexing and how that behaves<br> <fantasai> question is now minmax(5em, 2fr, 250px)<br> <dael> Rossen: Additional comments?<br> <dael> Rossen: What's the primary use case for 3 value?<br> <dael> fantasai: Right now you can control min or max of fr unit, column has to be at least this, but I want 1 fr. Or you can say 1fr but cap. You can't do both. You might want a 0 minimum and you want 1fr and a cap of 250px<br> <dael> Rossen: Basically you want...I see an example...min 1em, max 250px, and then 2fr in this casewill...<br> <dael> fantasai: We can come back to this.<br> <dael> Rossen: Yeeeeeaaah...I'm not sure.<br> <dael> Rossen: Why isn't that covered by min width?<br> <dael> fantasai: In a sense it is. You can't do min width on column<br> <dael> Rossen: Ah this is for columns<br> <dael> fantasai: Yeah, since fr have implicit auto minimum if you set min width on any items we'll use that. So you can kind of get there<br> <dael> rachelandrew: I've had people ask for this. THat's the advice I gave is put something on item<br> <dael> Rossen: It's achievable using items as a spacer and fr as the min<br> <dael> Rossen: I'd be happy to come back. I want to think a bit more on this.<br> <dael> Rossen: If others are ready?<br> <dael> [silence]<br> <dael> Rossen: Should we come back to this?<br> <dael> fantasai: We'll close this and consider the 3 value syntax in the future.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2611#issuecomment-391406239 using your GitHub account
Received on Wednesday, 23 May 2018 16:13:19 UTC