Skip to content

Truly independent web browser

445 B
Raw Blame
<!DOCTYPE html>
<link rel="match" href="../expected/grid-item-min-height-border-box-ref.html">
<p>Test passes if the two boxes below have the same height.</p>
<style>
  .grid { display: grid; width: 200px; }
  .item {
    min-height: 3rem;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    background: green;
  }
</style>
<div class="grid"><div class="item">Grid item</div></div>
<div class="item" style="width: 200px;">Reference</div>