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/tentative/track-sizing/row-track-sizing-003.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="match" href="row-track-sizing-003-ref.html">
<style>
.grid-lanes {
display: grid-lanes;
masonry-direction: row;
grid-template-rows: 1fr 5fr 3fr 1fr;
width: 100px;
height: 100px;
}
</style>
<body>
<p>Test that masonry tracks are correctly sized, and flexible tracks are expanded.</p>
<div class="grid-lanes">
<div style="background-color: orange; width: 100px;"></div>
<div style="background-color: yellow; width: 100px;"></div>
<div style="background-color: blue; width: 100px;"></div>
<div style="background-color: purple; width: 100px;"></div>
</div>
</body>
</html>