← 返回首页
[css-sizing] Aspect-ratio min-size needs to check for "auto", not non-zero · Issue #4217 · w3c/csswg-drafts · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

[css-sizing] Aspect-ratio min-size needs to check for "auto", not non-zero #4217

New issue
New issue

Description

In https://drafts.csswg.org/css-sizing-3/#intrinsic:

Otherwise if the box has a definite non-zero min-width or min-height, use that size and calculate the other dimension using the aspect ratio; if both dimensions have a definite minimum, choose the one that results in the larger overall size.

This should probably be checking for non-"auto", not non-zero. (Open ranges are bad.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Footer

      © 2026 GitHub, Inc.