inst the container's inline size (500px), so it should be 50px and element's height should be 100px. */
  writing-mode: vertical-lr;
}
</style>

<p>The test passes if it has the same visual effect as reference.</p>

<div class="container">
  <div class="element">XX X X X XX X X XX X XX</div>
</div>
