- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 14 Feb 2025 21:28:55 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-sizing] Conflicting automatic minimum size definitions for flex and grid items == https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum > In order to avoid unintentional overflow, the [automatic minimum size](https://drafts.csswg.org/css-sizing-3/#automatic-minimum-size) in the [ratio-dependent axis](https://drafts.csswg.org/css-sizing-4/#ratio-dependent-axis) of a box with a [preferred aspect ratio](https://drafts.csswg.org/css-sizing-4/#preferred-aspect-ratio) that is neither a [replaced element](https://drafts.csswg.org/css-display-4/#replaced-element) nor a [scroll container](https://drafts.csswg.org/css-overflow-3/#scroll-container) is its [min-content size](https://drafts.csswg.org/css-sizing-3/#min-content) capped by its [maximum size](https://drafts.csswg.org/css-sizing-3/#max-width). But flex items and grid items already have an automatic minimum size: - https://drafts.csswg.org/css-flexbox-1/#min-size-auto - https://drafts.csswg.org/css-grid/#min-size-auto So CSS Sizing 4 should make it clear that it's just monkeypatching CSS Sizing 3: https://drafts.csswg.org/css-sizing-3/#valdef-width-auto > For [min-width](https://drafts.csswg.org/css-sizing-3/#propdef-min-width)/[min-height](https://drafts.csswg.org/css-sizing-3/#propdef-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](https://drafts.csswg.org/cssom-1/#resolved-value) of this keyword is zero for boxes of all [[CSS2]](https://drafts.csswg.org/css-sizing-3/#biblio-css2) [display types](https://drafts.csswg.org/css-display-4/#display-type): block and inline boxes, inline blocks, and all the table layout boxes. It also resolves to zero when no box is generated. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11715 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 14 February 2025 21:28:56 UTC