<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference Case</title>

<link rel="stylesheet" href="/fonts/ahem.css">
<style>
textarea {
  font: 10px/1 Ahem;

  block-size: 8em;
  inline-size: 10em;

  padding-block-start: 0;
  padding-block-end: 0;
}
.rtl { direction: rtl; }
.vlr { writing-mode: vertical-lr; }
.vrl { writing-mode: vertical-rl; }
.slr { writing-mode: sideways-lr; }
.srl { writing-mode: sideways-rl; }
</style>

<textarea></textarea>
<textarea class="rtl"></textarea>
<br>
<textarea class="vlr"