Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-gaps/flex/flex-gap-decorations-022.html
<!DOCTYPE html> <title> CSS Gap Decorations: flex column gaps are painted with different sized gaps and row-rule-inset 0. </title> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="match" href="flex-gap-decorations-022-ref.html"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> body { margin: 0px; } .flex-container { height: 110px; width: 120px; display: flex; column-gap: 20px; row-gap: 10px; column-rule-color: blue; column-rule-style: solid; column-rule-width: 20px; row-rule-color: gold; row-rule-style: solid; row-rule-width: 10px; row-rule-break: intersection; row-rule-inset: 0; flex-wrap: wrap; } .flex-item { background: skyblue; width: 50px; } </style> <div class="flex-container"> <div class="flex-item"></div> <div class="flex-item"></div> <div class="flex-item"></div> <div class="flex-item"></div> </div>
/css/css-gaps/flex/flex-gap-decorations-022-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> body { margin: 0px; } .container { display: flex; width: 120px; height: 110px; column-gap: 20px; row-gap: 10px; flex-wrap: wrap; } .item { background: skyblue; height: 50px; width: 50px; margin: 0; } .row-gap { position: absolute; top: 50px; background: gold; width: 50px; height: 10px; } .column-gap { position: absolute; left: 50px; background: blue; height: 50px; width: 20px; } </style> <div class="container"> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div> <div class="row-gap" style="left: 0px;"></div> <div class="row-gap" style="left: 70px;"></div> <div class="column-gap" style="top: 0px;"></div> <div class="column-gap" style="top: 60px;"></div>