The wrapper sets vertical-lr. The inner box uses inherit to copy it. writing-mode is inherited by default, so this shows an explicit copy.
writing-mode
Example text
Inherited vertical
Lines: 0 | Characters: 0