Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

  • This WPT test may be referenced by the following Test IDs:
<!DOCTYPE HTML>
<html><head>
<meta charset="utf-8">
<title>CSS Grid Lanes Test: nested empty row-direction subgrid propagates parent gutter delta</title>
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="match" href="row-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-rows:auto auto;
border:1px solid;
background:yellow;
}
.subgrid {
display:grid;
grid-template-rows:subgrid;
}
</style>
</head>
<body>
<div class="grid-lanes">
<div class="subgrid" style="gap:100px; grid-row:span 2; background:cyan;">
<div class="subgrid" style="grid-row:span 1; background:magenta; min-width:30px;"></div>
</div>
</div>
</body>
</html>