Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-gaps/multicol/multicol-gap-decorations-016.html
<!DOCTYPE html> <title> CSS Gap Decorations: Multicolumn gap decorations painted with different num of columns per row, and rule-visibility: between. </title> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="match" href="multicol-gap-decorations-016-ref.html"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> body { margin: 0px; } .outer { columns: 4; column-rule: solid 1px black; orphans: 1; widows: 1; border: dotted 2px black; width: 500px; rule-visibility-items: between; } .col-box { background: cyan; height: 20px; /* keep each box whole */ break-inside: avoid; } .spanner { column-span: all; background: grey; opacity: 0.5; height: 20px; } .pink-box { column-span: all; background: hotpink; height: 20px; width: 100px; } </style> <div class="outer"> <div class="col-box"></div> <div class="col-box"></div> <div class="col-box"></div> <div class="col-box"></div> <div class="spanner"></div> <div class="pink-box"></div> <div class="spanner"></div> <div class="col-box"></div> <div class="col-box"></div> </div>
/css/css-gaps/multicol/multicol-gap-decorations-016-ref.html
<!DOCTYPE html> <link rel="help" href="https://drafts.csswg.org/css-gaps-1/"> <link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com"> <style> body { margin: 0px; } .outer { columns: 4; orphans: 1; widows: 1; border: dotted 2px black; width: 500px; } .col-box { background: cyan; height: 20px; /* keep each box whole */ break-inside: avoid; } .spanner { column-span: all; background: grey; opacity: 0.5; height: 20px; } .pink-box { column-span: all; background: hotpink; height: 20px; width: 100px; } .first-column-gaps { position: absolute; top: 2px; display: flex; height: 20px; left: 123px; column-gap: 128px; } .column-gap { background: black; width: 1px; } </style> <div class="first-column-gaps"> <div class="column-gap"></div> <div class="column-gap"></div> <div class="column-gap"></div> </div> <div class="column-gap" style="position: absolute; left: 123px; height: 20px; top:82px;"></div> <div class="outer"> <div class="col-box"></div> <div class="col-box"></div> <div class="col-box"></div> <div class="col-box"></div> <div class="spanner"></div> <div class="pink-box"></div> <div class="spanner"></div> <div class="col-box"></div> <div class="col-box"></div> </div>