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/subgrid/crashtests/subgrid-rows-locked-major-axis-overflowing-span-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Grid Layout Test: row-subgrid with item locked to major axis and indefinite minor-axis span larger than the subgrid</title>
<link rel="author" title="Kurt Catti-Schmidt" href="mailto:kschmi@microsoft.com">
<style>
.outer {
display: grid;
grid-template-rows: repeat(5, 10px);
grid-auto-flow: column;
height: 50px;
}
.subgrid {
display: grid;
grid-row: span 5;
grid-template-rows: subgrid;
grid-auto-flow: column;
}
.item {
grid-column-start: 1;
grid-row: span 6;
}
</style>
</head>
<body>
<div class="outer">
<div class="subgrid">
<div class="item">item</div>
</div>
</div>
</body>
</html>