Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-gaps/grid-lanes/row-gap-decorations-013.html
<!DOCTYPE html> <title>CSS Gap Decorations: row and column rules with align-content distributing the grid axis in grid-lanes</title> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="help" href="https://drafts.csswg.org/css-grid-3/"> <link rel="match" href="row-gap-decorations-013-ref.html"> <style> body { margin: 0; } .lanes { display: grid-lanes; grid-template-rows: repeat(3, 60px); gap: 10px; align-content: space-between; height: 300px; background: #cdd5e0; column-rule: 4px solid blue; row-rule: 4px solid gold; width: 90px; } .lanes > div { width: 40px; background: #5b8def; color: #fff; font: 600 12px/1 sans-serif; } </style> <div class="lanes"> <div>1</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div> <div>6</div> </div>
/css/css-gaps/grid-lanes/row-gap-decorations-013-ref.html
<!DOCTYPE html> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="help" href="https://drafts.csswg.org/css-grid-3/"> <style> body { margin: 0; } .lanes { display: grid-lanes; grid-template-rows: repeat(3, 60px); gap: 10px; align-content: space-between; height: 300px; background: #cdd5e0; width: 90px; } .lanes > div { width: 40px; background: #5b8def; color: #fff; font: 600 12px/1 sans-serif; } .col-rule { position: absolute; width: 0; border-left: 4px solid blue; } .row-rule { position: absolute; height: 0; border-top: 4px solid gold; } </style> <div class="lanes"> <div>1</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div> <div>6</div> </div> <div class="col-rule" style="left: 43px; top: 0; height: 60px;"></div> <div class="col-rule" style="left: 43px; top: 120px; height: 60px;"></div> <div class="col-rule" style="left: 43px; top: 240px; height: 60px;"></div> <div class="row-rule" style="top: 88px; left: 0; width: 90px;"></div> <div class="row-rule" style="top: 208px; left: 0; width: 90px;"></div>