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-029.html
<!DOCTYPE html> <title> CSS Gap Decorations: Flex gaps are painted with different insets in start/end segment endpoints. </title> <link rel="help" href="https://www.w3.org/TR/css-gaps-1/#inset"> <link rel="match" href="flex-gap-decorations-029-ref.html"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> body { margin: 0px; } .flex { display: flex; flex-wrap: wrap; gap: 20px; left: 0px; top: 0px; width: 340px; column-rule: 3px solid red; row-rule: 3px solid gray; column-rule-break: intersection; column-rule-inset-junction-start: 0; column-rule-inset-junction-end: -5px; column-rule-inset-cap-end: -10px; column-rule-inset-cap-start: 1px; row-rule-break: intersection; row-rule-inset-cap-end: 5px; row-rule-inset-cap-start: 1px; } .item { width: 100px; height: 100px; background: lightgray; } </style> <div class="flex"> <div class="item" style="width: 200px;"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div>
/css/css-gaps/flex/flex-gap-decorations-029-ref.html
<!DOCTYPE html> <link rel="help" href="https://www.w3.org/TR/css-gaps-1/#inset"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> body { margin: 0px; } .flex { display: flex; flex-wrap: wrap; gap: 20px; left: 0px; top: 0px; width: 340px; } .item { width: 100px; height: 100px; background: lightgray; } .row-decoration { top: 108.5px; height: 3px; position: absolute; background-color: gray; } .column-decoration { position: absolute; height: 105px; width: 3px; background-color: red; } </style> <div class="row-decoration" style="left: 1px; width: 99px;"></div> <div class="row-decoration" style="left: 120px; width: 80px;"></div> <div class="row-decoration" style="left: 240px; width: 95px;"></div> <div class="column-decoration" style="top: 1px; left: 208.5px; height: 104px;"></div> <div class="column-decoration" style="top: 120px; left: 108.5px; height: 110px;"></div> <div class="column-decoration" style="top: 120px; left: 228.5px; height: 110px;"></div> <div class="flex"> <div class="item" style="width: 200px;"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div>