Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-grid/grid-lanes/subgrid/grid-subgridded-to-grid-lanes/gap/column-subgrid-grid-gap-014.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<html><head>
<meta charset="utf-8">
<title>CSS Grid Lanes Test: nested empty column-direction subgrid propagates parent gutter delta</title>
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="match" href="column-subgrid-grid-gap-014-ref.html">
<style>
html,body { color:black; background-color:white; padding:0; margin:0; }
.grid-lanes {
display:inline-grid-lanes;
grid-template-columns:auto auto;
border:1px solid;
background:yellow;
}
.subgrid {
display:grid;
grid-template-columns:subgrid;
min-height:30px;
}
</style>
</head>
<body>
<div class="grid-lanes">
<div class="subgrid" style="column-gap:100px; grid-column:span 2; background:cyan;">
<div class="subgrid" style="grid-column:span 1; background:magenta;"></div>
</div>
</div>
</body>
</html>