- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Apr 2018 13:45:55 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `Does indefinite min-height: N% fall back to zero or auto?`, and agreed to the following resolutions: * `RESOLVED: treat indefinite percentages in min-width and min-height as 0` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: Does indefinite min-height: N% fall back to zero or auto?<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/2384<br> <dael> TabAtkins: This is for min-width and height. Do they fallback to auto or 0? General rule is we fall back to initial value. Is that 0 or auto? Initial used to be 0, changed to auto.<br> <dael> TabAtkins: 2.1 explicitly says they're treated as 0, but it was prob on the assumption 0 was the initial value.<br> <dael> TabAtkins: Only real case is you have a flex item and you can't resolve the min-height should it be auto or 0?<br> <dael> TabAtkins: I'm of the opinion it hsould be auto.<br> <dael> Rossen: Current?<br> <dael> TabAtkins: 0 which was previous initial value.<br> <dael> TabAtkins: Change to be consistent with the change to initial.<br> <dael> fantasai: I'm trying to wrap my head around when this would be different.<br> <dael> astearns: Last time we discussed 0% when we said it should be 0 it's different on width then min-width.<br> <dael> fantasai: auto for width isn't hte same as min-width.<br> <dael> astearns: We could throw out the calc on min-width if it's doesn't resolve.<br> <dael> TabAtkins: either the percent 0s out or we throw it out.<br> <dael> fantasai: Makes more sense.<br> <dael> tantek: Treat min-width and min-height the same as we just resolved to deal with percentages.<br> <dael> astearns: So it's 0 rather then auto.<br> <dael> TabAtkins: Still a change from current. calc is replaced with 0. Current is calc(10%+10px) = 0. Now it's =10px.<br> <dael> fantasai: This makes the most sense. Consistent with margins and padding.<br> <dael> fantasai: If you set min-width to a non-auto size you're not expecting it to look at content<br> <dael> astearns: Prop: treat indefinete % in min-width and min-height as 0<br> <dael> RESOLVED: treat indefinite percentages in min-width and min-height as 0<br> <dael> Rossen: This is web compat?<br> <dael> TabAtkins: If you have a complex calc it's a change. percent only is the same.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2384#issuecomment-380103690 using your GitHub account
Received on Tuesday, 10 April 2018 13:45:56 UTC