Skip to content

[css-sizing] The resolved value of min-size: auto should also be 0 when there is no box #3557

Closed
@Loirooriol

Description

@Loirooriol

From https://drafts.csswg.org/css-sizing/#valdef-width-auto, about min-width/height: auto,

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions