Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-gaps/grid/grid-gap-decorations-066.html
<!DOCTYPE html> <title> CSS Gap Decorations: Gap decorations are painted in inline grid containers. </title> <link rel="help" href="https://www.w3.org/TR/css-gaps-1/"> <link rel="match" href="grid-gap-decorations-066-ref.html"> <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com"> <style> body { margin: 0px; } .container { gap: 10px; row-rule: 2px solid red; column-rule: 2px solid blue; } .grid { display: inline-grid; grid-template: repeat(2, 50px) / repeat(2, 50px); } .item { background: lightgray; width: 50px; height: 50px; } </style> <div class="grid container"> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div>
/css/css-gaps/grid/grid-gap-decorations-066-ref.html
<!DOCTYPE html> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com"> <style> body { margin: 0px; } .container { display: flex; width: 110px; height: 110px; column-gap: 10px; row-gap: 10px; flex-wrap: wrap; } .item { background: lightgray; width: 50px; height: 50px; } .row-gap { position: absolute; top: 54px; background: red; width: 110px; height: 2px; } .column-gap { position: absolute; top: 0px; left: 54px; background: blue; height: 110px; width: 2px; } </style> <div class="container"> <div class="item"></div> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div> <div class="column-gap"></div> <div class="row-gap"></div>