Re: [csswg-drafts] [css-sizing] Decide how to handle `min-width/min-height: auto` for non-grid/flex items

I tend to think that it should apply, though I don't think any spec text says that it would.  And really, CSS2 has text saying that for `min-height` (which in CSS2 was the only one of the `min-{size}` properties that could have an indefinite basis), it falls back to '0':
> The percentage is calculated with respect to the height of the generated box's containing block. If the height of the containing block is not specified explicitly (i.e., it depends on content height), and this element is not absolutely positioned, the percentage value is treated as '0'

https://www.w3.org/TR/CSS22/visudet.html#propdef-min-height

I suspect "treated as '0'" there was really meant to signify "treated as the initial value".  And so now, under that interpretation, this scenario should now fall back to `auto`-which-then-usually-gets-treated-as-`0`...  This might want its own spec issue, though.

-- 
GitHub Notification of comment by dholbert
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2248#issuecomment-363650437 using your GitHub account

Received on Wednesday, 7 February 2018 04:05:46 UTC