Writing-mode should not be inherited from CSS
The 2D context is not supposed to inherit the writing mode of the
parent element.
According to the spec, the algorithm that specifies the canvas text
rendering properties is defined here in the spec:
https://html.spec.whatwg.org/multipage/canvas.html#text-preparation-algorithm
In particular, step 5 of the algorithm.
This test verifies that the vertical writing mode has no effect on
element.
Bug: 40064950
Change-Id: I65f0b11d8331a594dd437510fee008685f679245
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5732132
Commit-Queue: Yi Xu yiyix@chromium.org
Reviewed-by: Aaron Krajeski aaronhk@chromium.org
Cr-Commit-Position: refs/heads/main@{#1331909}