You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
https://drafts.csswg.org/css-sizing/#valdef-width-auto says
The 3rd paragraph doesn't mention
width/height
normin-width/min-height
, so it seems it applies to all of them. However, the resolved value ofwidth/height: auto
for css2 boxes is not 0 in general, see https://drafts.csswg.org/cssom/#ref-for-propdef-widthThe 3rd paragraphs should be merged into the 2nd, or repeat that it's for the
min-width/min-height
properties.The text was updated successfully, but these errors were encountered: