height="20" data-expected-width="10" data-expected-height="20"></canvas>
  </div>
</div>
<div class="cb">
  <div class="test height" style="height: max-content" data-expected-height="30">
    <canvas width="10" height="20" data-expected-width="10" data-expected-height="20"></canvas>
  </div>
</div>
<div class="cb">
  <div class="test height stretch" data-expected-height="90">
    <canvas width="10" height="20" data-expected-width="40" data-expected-height="80"></canvas>
  </div>
</div>

<div class="cb">
  <