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
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.
Both Firefox and Chromium also seem to resolve it to 0 for display: none/contents. I guess display: none needs it for backwards-compatibility, and display: contents should be consistent with none. So the spec should include these cases.
The text was updated successfully, but these errors were encountered:
Proposed text: “It also resolves to zero when no box is generated.” This covers 'display: none', descendants of 'display: none', and 'display: contents'.
The CSS Working Group just discussed The resolved value of min-size: auto should also be 0 when there is no box, and agreed to the following:
RESOLVED: The resolved value of min-size: auto is 0 when there is no box
The full IRC log of that discussion
<AmeliaBR> Topic: The resolved value of min-size: auto should also be 0 when there is no box
<AmeliaBR> github: https://github.com//issues/3557
<AmeliaBR> fantasai: Pretty straightforward. Wanted to cover elements with display: none, their children, and also elements with display: contents
<AmeliaBR> Rossen_: Resolving to 0 makes the most sense. Any disagreements?
<AmeliaBR> RESOLVED: The resolved value of min-size: auto is 0 when there is no box
From https://drafts.csswg.org/css-sizing/#valdef-width-auto, about
min-width/height: auto
,Both Firefox and Chromium also seem to resolve it to 0 for
display: none/contents
. I guessdisplay: none
needs it for backwards-compatibility, anddisplay: contents
should be consistent withnone
. So the spec should include these cases.The text was updated successfully, but these errors were encountered: