</div>
<div class="cb">
  <div class="test max-height" style="max-height: min-content" data-expected-height="50">XX XX</div>
</div>
<div class="cb">
  <div class="test max-height" style="max-height: fit-content" data-expected-height="50">XX XX</div>
</div>
<div class="cb">
  <div class="test max-height" style="max-height: max-content" data-expected-height="50">XX XX</div>
</div>
<div class="cb">
  <div class="test max-height stretch" data-expected-height="90">XX XX</div>
</div>

<div class="cb">
  <div clas