Re: [csswg-drafts] [css-grid-2] Resolving padding in indefinite intrinsic size calculation and using that to resolve indefinite size? (#8963)

Yes the `repeat()` should change, but not the grid container. Just like here:

```html
<div style="width: min-content; border: solid 3px">
  <div style="background: cyan; display: grid; width: min-content; grid-template-columns: 0%">
    loremipsum
  </div>
</div>
```

During intrinsic sizing, `0%` behaves as `auto` and the column is as wide as the text. This fixes the width of the grid container and the wrapper. Then we can resolve `0%` to `0px`, but the grid container is still as wide as the text. It's not resized to the new size of the grid.

So why does Blink resize the grid container in other cases?

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


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

Received on Wednesday, 14 June 2023 00:10:52 UTC