Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-030.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
CSS Gap Decorations: grid gap decorations extend to meet cross-direction
decoration width at far edge with rule-inset: overlap-join. Tests fragmentation
scenario where some gap decorations segments need to flush due to the absence of
a cross decoration.
</title>
<link rel="match" href="grid-gap-decorations-fragmentation-030-ref.html">
<link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
<style>
.multi-col {
columns: 3;
height: 115px;
width: 1020px;
column-gap: 0;
column-fill: auto;
}
body {
margin: 0px;
}
.container {
display: grid;
grid-template: repeat(3, 100px) / repeat(3, 100px);
gap: 20px;
rule: 6px solid;
column-rule-color: rgba(128 0 0 / 0.5);
row-rule-color: rgba(0 0 128 / 0.5);
rule-visibility-items: between;
rule-interior-inset: overlap-join;
}
.item {
background: rgba(192 192 192 / 0.75);
}
</style>
<div class="multi-col">
<div class="container">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</div>