- From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 Jun 2023 17:59:20 +0000
- To: public-css-archive@w3.org
@dholbert - Do you know where this additional padding is coming from? (We are super confused).
Testcase:
```
<!DOCTYPE html>
<div style="width: 300px; border: solid 3px;">
<div style="
background: gray;
box-sizing: border-box;
display: grid;
padding: 10%;
width: min-content;
max-width: 300px;
grid-template-columns: repeat(auto-fill, 100px);
grid-template-rows: 100px;">
<div style="
background: lime;
grid-column: -2;"></div>
</div>
</div>
<div style="width: 300px; border: solid 3px;">
<div style="
background: gray;
box-sizing: border-box;
display: grid;
padding: 10%;
width: min-content;
max-width: 300px;
grid-template-columns: repeat(2, 100px);
grid-template-rows: 100px;">
<div style="
background: lime;
grid-column: -2;"></div>
</div>
</div>
```
(only difference is `auto-fill` vs. `2` in `grid-template-columns`) which resolve to the same thing in both cases.
--
GitHub Notification of comment by bfgeek
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8963#issuecomment-1589786366 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 17:59:22 UTC