Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-012.html
<!DOCTYPE html> <title> CSS Gap Decorations: row flex gaps are painted when container is fragmented and an item in line is monolithic. </title> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="match" href="flex-gap-decorations-fragmentation-012-ref.html"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> .multi-column { columns: 3; height: 47px; column-width: 110px; width: 330px; column-fill: auto; } body { margin: 0px; } #flexbox { display: flex; column-gap: 10px; row-gap: 10px; width: 110px; flex-wrap: wrap; height: 110px; column-rule: 10px solid blue; row-rule: 10px solid gold; } .items { background-color: rgb(96 139 168 / 0.2); width: 50px; height: 55px; } #monolithic { contain: size; } </style> <div class="multi-column"> <div id="flexbox"> <div class="items">One</div> <div class="items" id="monolithic">Two</div> <div class="items">Three</div> <div class="items">Four</div> </div> </div>
/css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-012-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: 3; height: 47px; column-width: 110px; width: 330px; column-fill: auto; } body { margin: 0px; } #flexbox { xborder: 2px solid rgb(96 139 168); display: flex; column-gap: 10px; row-gap: 10px; width: 110px; flex-wrap: wrap; height: 110px; } .items { background-color: rgb(96 139 168 / 0.2); width: 50px; height: 55px; } #monolithic { contain: size; } .row-rule { position: absolute; background-color: gold; height: 10px; } .column-rule { position: absolute; background-color: blue; width: 10px; } </style> <div class="column-rule" style="top: 0px; height: 55px; left: 50px;"></div> <div class="column-rule" style="top: 18px; height: 29px; left: 223px;"></div> <div class="column-rule" style="top: 0px; height: 26px; left: 396px;"></div> <div class="row-rule" style="left: 173px; width: 110px; top: 8px"></div> <div class="multi-column"> <div id="flexbox"> <div class="items">One</div> <div class="items" id="monolithic">Two</div> <div class="items">Three</div> <div class="items">Four</div> </div> </div>