   height: max-content;
  }
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>

<body onload="checkLayout('.grid');">

  <div id="log"></div>

  <div class="grid grid-columns-minmax-50-100 grid-rows-minmax-50-100"
    data-expected-width="100" data-expected-height="100"></div>

  <div class="grid min-content grid-columns-minmax-100-200 grid-rows-minmax-50-100"
    data-expected-width="100" d