Re: [csswg-drafts] [css-grid] Ability to clamp track spanning (#5852)

```html
<div style="display: grid; grid-template-columns: repeat(4, auto)">
  <div style="grid-column: span(1, 3)"></div>
  <div style="grid-column: span 1"></div>
</div>
```

If we place the 1st item with a span of 1, then the 2nd item is placed in column 2, so we won't be able to make the 1st item span more tracks without overlapping.

But since there are 4 columns, I suspect authors would prefer the 1st item to take 3 columns, and place the 2nd item in the 4th column. But this may increase the complexity.

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


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

Received on Monday, 19 February 2024 21:00:45 UTC