Writing mode support for HTML canvas text will enable correct text shaping for vertical text, as already supported by CSS. Canvas text styles gain a "writingMode" attribute along with a "textOrientation" attribute that have the same effect on a text run as the related CSS properties. The various alignment attributes are augmented to support vertically oriented text. The CSS properties from the canvas element style are ignored.
Canvas text styles do not provide any direct control over the writing mode and character orientation, and browsers are inconsistent with how they treat the CSS properties on the canvas element. The workaround is to render and position each character separately, which may require a JS implementation of text shaping.