[csswg-drafts] [css-sizing] Add `contain-intrinsic-size: auto none`? (#7737)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing] Add `contain-intrinsic-size: auto none`? ==
https://w3c.github.io/csswg-drafts/css-sizing-4/#intrinsic-size-override

Typically, `contain-intrinsic-size: none` behaves as `contain-intrinsic-size: 0px`. However, it may result in a greater size since it can take CSS properties into account, like `column-width` in multicolumn, or `grid-template` in grid layout.

`contain-intrinsic-size: auto <length>` tries to use the last remembered size if possible, and otherwise falls back to `contain-intrinsic-size: <length>`.

However, it's not possible to prefer using the last remembered size with the `none` behavior as the fallback.

Seems to me we could add an `auto none` combination. So the full grammar would become

```
auto? [none | <length>]
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7737 using your GitHub account


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

Received on Tuesday, 13 September 2022 20:13:32 UTC