l participates
in baseline alignment. -->
<div>
before text
<div class="inline-grid" style="grid-auto-rows: 40px">
    <div style="align-self: end">below</div>
    <div style="align-self: baseline; margin-top: 20px; writing-mode: vertical-rl"></div>
    <div style="align-self: start">above</div>
</div>
after text
</div>

<div>
before text
<div class="inline-grid">
    <h2>h2 baseline</h2>
    <div>above</div>
</div>
after text
</div>

<div>
before text
<div class="inline-grid">
    <div>baseline</div>
    <