| <!DOCTYPE html> |
| <title> |
| Suppress row flexbox gaps: row gaps should be suppressed if it's split across |
| fragmentainer breaks or is the last content before a break. Test with forced breaks. |
| </title> |
| <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/11520"> |
| <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> |
| <style> |
| .multicol { |
| columns: 2; |
| column-fill: auto; |
| width: 100px; |
| height: 100px; |
| background: green; |
| } |
| .flex { |
| display: flex; |
| flex-wrap: wrap; |
| background: red; |
| } |
| .flex>div { |
| contain: size; |
| width: 100%; |
| height: 10px; |
| background: green; |
| break-before: column; |
| } |
| </style> |
| <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> |
| <div class="multicol"> |
| <div class="flex" style="row-gap:10px;"> |
| <div style="height:100px;"></div> |
| <div></div> |
| </div> |
| </div> |