Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-003.html
<!DOCTYPE html> <title> CSS Gap Decorations: flex gaps are painted when the container is fragmented and row gap is suppressed. </title> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="match" href="flex-gap-decorations-fragmentation-003-ref.html"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> .multi-column { columns: 4; height: 30px; column-width: 170px; width: 680px; } body { margin: 0px; } #flexbox { border: 2px solid rgb(96 139 168); display: flex; column-gap: 10px; row-gap: 10px; row-rule-style: solid; row-rule-color: blue; row-rule-width: 10px; column-rule-style: solid; column-rule-color: red; column-rule-width: 10px; width: 170px; flex-wrap: wrap; } .items { background-color: rgb(96 139 168 / 0.2); flex-shrink: 1; width: 50px; height: 50px; } #four { width: 100px; } </style> <div class="multi-column"> <div id="flexbox"> <div class="items">One</div> <div class="items">Two</div> <div class="items">Three</div> <div class="items" id="four">Four</div> <div class="items">Five</div> </div> </div>
/css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-003-ref.html
<!DOCTYPE html> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> .multi-column { columns: 4; height: 30px; column-width: 170px; width: 680px; } body { margin: 0px; } #flexbox { border: 2px solid rgb(96 139 168); display: flex; column-gap: 10px; row-gap: 10px; width: 170px; flex-wrap: wrap; } .items { background-color: rgb(96 139 168 / 0.2); flex-shrink: 1; width: 50px; height: 50px; } #four { width: 100px; } .column-rule { position: absolute; top: 2px; background: red; width: 10px; } </style> <div class="column-rule" style="height: 28px; left: 52px;"></div> <div class="column-rule" style="height: 28px; left: 112px;"></div> <div class="column-rule" style="height: 22px; top: 0px; left: 284px;"></div> <div class="column-rule" style="height: 22px; top: 0px; left: 344px;"></div> <div class="column-rule" style="height: 30px; top: 0px; left: 566px;"></div> <div class="column-rule" style="height: 20px; top: 0px; left: 798px;"></div> <div class="multi-column"> <div id="flexbox"> <div class="items">One</div> <div class="items">Two</div> <div class="items">Three</div> <div class="items" id="four">Four</div> <div class="items">Five</div> </div> </div>