- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 25 Jan 2019 19:45:20 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-sizing] the resolved value of 'auto' is only 0 for min-size == https://drafts.csswg.org/css-sizing/#valdef-width-auto says > - `auto` > For width/height, specifies an automatic size. See the relevant layout module for how to calculate this. > > For min-width/min-height, specifies an automatic minimum size. Unless otherwise defined by the relevant layout module, however, it resolves to a used value of 0. > > For backwards-compatibility, the resolved value of this keyword is zero for boxes of all [CSS2] display types: block and inline boxes, inline blocks, and all the table layout boxes. The 3rd paragraph doesn't mention `width/height` nor `min-width/min-height`, so it seems it applies to all of them. However, the resolved value of `width/height: auto` for css2 boxes is not 0 in general, see https://drafts.csswg.org/cssom/#ref-for-propdef-width The 3rd paragraphs should be merged into the 2nd, or repeat that it's for the `min-width/min-height` properties. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3556 using your GitHub account
Received on Friday, 25 January 2019 19:45:22 UTC