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/masonry/tentative/track-sizing/column-track-sizing-004.html - WPT Dashboard Interop Dashboard
 
 
<!DOCTYPE html>
<html>
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<link rel="match" href="column-track-sizing-004-ref.html">
<style>
.masonry {
    display: masonry;
    grid-template-columns: 20px 1fr 30%;
    width: 100px;
    height: 100px;
}
</style>
<body>
  <p>Test that masonry tracks are correctly sized with mixed definite, fr and %.</p>
  <div class="masonry">
    <div style="background-color: orange; height: 100px;"></div>
    <div style="background-color: yellow; height: 100px;"></div>
    <div style="background-color: blue; height: 100px;"></div>
  </div>
</body>
</html>