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-010.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
Gap Decorations are shown in a grid that's fragmented. Suppressed row gaps do not have decorations.
Tests scenario with some row gaps being suppressed due to different row sizes.
</title>
<link rel="match" href="grid-gap-decorations-fragmentation-010-ref.html">
<link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
<style>
body {
margin: 0px;
}
.multi-col {
height: 100px;
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: 90px repeat(3, 50px);
column-gap: 10px;
row-gap: 20px;
row-rule: solid 10px red;
column-rule: solid 6px blue;
}
.grid-container>div {
background-color: skyblue;
}
</style>
<div class="multi-col">
<div class="grid-container">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>