| <!DOCTYPE html> |
| <meta charset="utf-8"> |
| <title>CSS Grid Layout Test: Intrinsic sizing of grid with spanning flex items in a min-content container</title> |
| <link rel="match" href="grid-flex-spanning-items-001-ref.html"/> |
| <link rel="help" href="https://drafts.csswg.org/css-grid-2/#intrinsic-sizes"/> |
| <link rel="author" title="Emily McDonough" href="mailto:[email protected]"/> |
| <style> |
| #mygrid { |
| display: grid; |
| grid-template-columns: 1fr 30px; |
| border: 10px solid fuchsia; |
| width: min-content; |
| } |
| #item { |
| grid-column: 1 / span 2; |
| } |
| #filler { |
| width: 300px; |
| height: 50px; |
| background: aqua; |
| } |
| </style> |
| <div id="mygrid"> |
| <div id="item"> |
| <div id="filler"></div> |
| </div> |
| </div> |