Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-gaps/grid/grid-gap-decorations-032.html
<!DOCTYPE html> <title> CSS Gap Decorations: Gaps are painted when rows are dynamically added and overflow container. </title> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="match" href="grid-gap-decorations-032-ref.html"> <link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com"> <style> body { margin: 0px; overflow: hidden; } .grid-container { display: grid; grid-gap: 10px; grid-template-columns: 100px 100px 100px; grid-template-rows: 100px; width: 120px; height: 120px; column-rule-color: blue; column-rule-style: solid; column-rule-width: 10px; } </style> <body> <div class="grid-container"></div> <script> const grid = document.querySelector('.grid-container'); grid.style.gridTemplateRows = 'repeat(6, 100px)'; grid.style.rowRuleColor = 'red'; grid.style.rowRuleStyle = 'solid'; grid.style.rowRuleWidth = '5px'; </script> </body>
/css/css-gaps/grid/grid-gap-decorations-032-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; overflow: hidden; } .grid-container { display: grid; grid-gap: 10px; grid-template-columns: 100px 100px 100px; grid-template-rows: repeat(6, 100px); width: 120px; height: 120px; } .row-gap { position: absolute; width: 320px; height: 0px; border-bottom: solid 5px red; } .row-gap1 { top: 102.5px; } .row-gap2 { top: 212.5px; } .row-gap3 { top: 322.5px; } .row-gap4 { top: 432.5px; } .row-gap5 { top: 542.5px; } .col-gap { position: absolute; top: 0px; width: 0px; height: 650px; border-left: solid 10px blue; } .col-gap1 { left: 100px; } .col-gap2 { left: 210px; } </style> <div class="grid-container"></div> <div class="col-gap col-gap1"> </div> <div class="col-gap col-gap2"> </div> <div class="row-gap row-gap1"> </div> <div class="row-gap row-gap2"> </div> <div class="row-gap row-gap3"> </div> <div class="row-gap row-gap4"> </div> <div class="row-gap row-gap5"> </div>