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-012.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
Gap Decorations are shown in grid that's fragmented. Suppressed row gaps
do not have decorations. Test scenario with a sparse grid and the row gap above
an item is split between fragmentainers.
</title>
<link rel="match" href="grid-gap-decorations-fragmentation-012-ref.html">
<link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
<style>
body {
margin: 0px;
}
.multi-col {
height: 215px;
width: 320px;
columns: 3;
column-fill: auto;
column-gap: 10px;
background: lightgray;
}
.grid-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(13, 10px);
column-gap: 10px;
row-gap: 10px;
row-rule: solid 5px red;
column-rule: solid 6px blue;
}
.grid-container>div {
background-color: skyblue;
}
</style>
<div class="multi-col">
<div class="grid-container">
<div style="grid-row: 1/2;"></div>
<div style="grid-row: 12/13"></div>
</div>
</div>