Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-gaps/flex/flex-gap-decorations-059.html
<!DOCTYPE html> <title> CSS Gap Decorations: Flex gaps are painted in case where row gap is created by content distribution between lines due to space-around, and affected by item sizes. </title> <link rel="help" href="https://www.w3.org/TR/css-gaps-1/"> <link rel="match" href="flex-gap-decorations-059-ref.html"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> body { margin: 0px; } #flexbox { width: 150px; background-color: #fff; display: flex; flex-wrap: wrap; row-rule: 5px solid gold; height: 200px; align-content: space-around; column-gap: 10px; column-rule: 2px solid red; } .item { width: 70px; height: 40px; background-color: #007bff; color: white; display: flex; } </style> <div id="flexbox"> <div class="item"></div> <div class="item"></div> <div class="item" style="height: 3px;"></div> <div class="item" style="height: 10px;"></div> <div class="item"></div> <div class="item"></div> </div>
/css/css-gaps/flex/flex-gap-decorations-059-ref.html
<!DOCTYPE html> <link rel="help" href="https://www.w3.org/TR/css-gaps-1/"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> body { margin: 0px; } #flexbox { width: 150px; background-color: #fff; display: flex; flex-wrap: wrap; height: 200px; align-content: space-around; column-gap: 10px; } .item { width: 70px; height: 40px; background-color: #007bff; color: white; display: flex; } .row-rule { position: absolute; height: 5px; background: gold; width: 150px; left: 0px; } .col-rule { position: absolute; width: 2px; background: red; left: 74px; } </style> <div class="row-rule" style="top: 74.17px;"></div> <div class="row-rule" style="top: 120.83px;"></div> <div class="col-rule" style="top: 18.33px; height: 40px;"></div> <div class="col-rule" style="top: 95px; height: 10px;"></div> <div class="col-rule" style="top: 141.67px; height: 40px;"></div> <div id="flexbox"> <div class="item"></div> <div class="item"></div> <div class="item" style="height: 3px;"></div> <div class="item" style="height: 10px;"></div> <div class="item"></div> <div class="item"></div> </div>