<!DOCTYPE HTML>
<meta charset="utf-8">
<title>CSS Grid Test: Masonry layout shouldn't be inhibited simply due to being an independent formatting context (unlike subgrid)</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-grid-3/#grid-template-masonry">
<link rel="match" href="masonry-not-inhibited-001-ref.html">
<style>
grid {
  vertical-align: top;
  display: inline-grid;
  display: inline-masonry;
  grid-template-column