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

In other words, I think it's Blink the one that adds some weird spacing between the grid and its parent in this [case](https://www.software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cdiv%20style%3D%22width%3A%20min-content%3B%20border%3A%20solid%203px%3B%22%3E%0A%20%20%3Cdiv%20style%3D%22%0A%20%20%20%20background%3A%20gray%3B%0A%20%20%20%20box-sizing%3A%20border-box%3B%0A%20%20%20%20display%3A%20grid%3B%0A%20%20%20%20padding%3A%2010%25%3B%0A%20%20%20%20width%3A%20min-content%3B%0A%20%20%20%20max-width%3A%20200px%3B%0A%20%20%20%20grid-template-columns%3A%20repeat(auto-fill%2C%20100px)%3B%0A%20%20%20%20grid-template-rows%3A%20100px%22%3E%0A%20%20%20%20%20%20%3Cdiv%20style%3D%22background%3A%20lime%22%3E%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E):

```html
<!DOCTYPE html>
<div style="width: min-content; border: solid 3px;">
  <div style="
    background: gray;
    box-sizing: border-box;
    display: grid;
    padding: 10%;
    width: min-content;
    max-width: 200px;
    grid-template-columns: repeat(auto-fill, 100px);
    grid-template-rows: 100px">
      <div style="background: lime"></div>
  </div>
</div>
```

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


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

Received on Tuesday, 13 June 2023 19:58:25 UTC