Re: [csswg-drafts] Proposal: A New white-space Value for Opting Out of Intrinsic Size Contribution (#12955)

First, I don't follow the reasoning to put this functionality into `white-space`, it completely seems a wrong place. And in fact it's a shorthand, so it would need to be one of its longhands.

And second, you can already achieve the desired behavior like this:

```css
.description {
  width: 0px; /* No intrinsic contribution */
  min-width: 100%; /* Resolves to 0 for the intrinsic contribution. Stretches during layout */
}
```
https://software.hixie.ch/utilities/js/live-dom-viewer/saved/14232

Of course `stretch` is better than `100%`, but not widely supported yet.

It can also be useful to make the max-content contribution come from the min-content size, in case the driver is too small:

```css
.description {
  width: min-content;
  min-width: 100%;
}
```

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12955#issuecomment-3408866501 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 16 October 2025 01:44:41 UTC