@left-top {
display: block;
content: "This is a test";
background: #ffc;
writing-mode: vertical-rl;
text-align: center;
vertical-align: middle;
}
just for the sake of legibility, I'll be referring to "horizontal" and "vertical" axes using the page as the frame of reference.
currently, while using "vertical-rl" writing mode, there is no mechanism to adjust the placement of the text on the horizontal axis. "text-align" has no effect, and "vertical-align" still adjusts the placement of the items on the vertical axis.
in contrast, when using "vertical-rl" as the writing mode, "vertical-align" is used to adjust the placement along the horizontal axis, and "text-align" is used to adjust the placement along the vertical axis.
I have tried all permutations of place/align/justify item/content, as well as tried forcing the margin box to display as flex, or grid (I didn't really expect that to work, but I had to try).
slightly related: support for writing-mode: sideways-rl and sideways-lr would be wonderful - though currently, I can use "vertical-rl" and just transform the entire margin box 180degrees to get the same effect, even if it is a pain to think in rotated terms on top of working with flipped axes.
