<!DOCTYPE HTML>
<title> Ensure block size is same as height of inner div </title>
<style>
  div {
    inset: 0;
    background-color: black;
    position: absolute;
    block-size: 200px;
    inline-size: 100px;
    border: 5px solid red;
  }
</style>
<div></div>
