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

It's possible that implementations already match this new spec text, actually! Here's a testcase for this behavior:
https://jsfiddle.net/atz4t2tc/
(Look at the JS console for results)

In Firefox (nightly) and latest Chrome and Edge, that gives me:
> gCS for initial value, on NON flex item: 0px
> gCS for initial value, on flex item: auto
> gCS for inherited initial value, on flex item: auto

Per the previous spec text, I was expecting that the last line there would say '0px' (since computed values are what are inherited, and per previous spec text, '0px' would be the computed value of the initial 'auto' on the parent of this flex item -- and so '0px' is what would inherit to the flex item that has explicit 'min-width:inherit'). But maybe the previous spec text's expectations about this edge-case were silly enough that nobody ever implemented them.  :)

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

Received on Wednesday, 14 February 2018 18:14:29 UTC