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

Ah, now I see that the spec *does* actually say that `auto` computes to `0` for non-flex/grid items, in CSS-Sizing Section 3.2:
> `auto`:
> [...]
> For min-width/min-height, specifies an automatic minimum size
> Unless otherwise defined by the relevant layout module, this computes to zero.


I was misled/confused by the main definition of this property/value further up, in CSS-Sizing Section 3.1:
> Name: | min-width, min-height
> Initial: | auto
> Computed value: | as specified, with lengths made absolute

The "lengths made absolute" text there doesn't sound like it would have any effect on "auto" (because "auto" is not a `<length>`).  So these two sections seem to be in conflict right now.

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

Received on Wednesday, 31 January 2018 19:15:20 UTC