Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve % as 0 for the min-content contribution of replaced elements #32103

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 17, 2024

  1. Resolve % as 0 for the min-content contribution of replaced elements

    `width` and `max-width` typically treat expressions with percentages as
    their initial value, but for the min-content contribution of replaced
    elements, percentages should instead resolve against zero.
    
    https://drafts.csswg.org/css-sizing-3/#replaced-percentage-min-contribution
    Loirooriol committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    2978770 View commit details
    Browse the repository at this point in the history