Re: [csswg-drafts] [css-writing-modes] 1. addition of "writing-mode:upright-tb;" 2. "HORIZONTAL-IN-VERTICAL TEXT" in this (#4921)

This example totally blows my mind...

This case would not work under the writing mode model either, because you can't mix different writing modes in the text flow. This has been made clear in the level 3 [spec](https://drafts.csswg.org/css-writing-modes-3/#block-flow):
> If a box has a different writing-mode value than its parent box (i.e. nearest ancestor without display: contents):
> * If the box would otherwise become an in-flow box with a computed `display` of `inline`, its `display` computes instead to `inline-block`.
> * If the box is a block container, then it establishes an independent block formatting context.
> * More generally, if its specified inner display type is `flow`, then its computed inner display type becomes `flow-root`.

However, I think it's probably achievable via extending `text-orientation` to support rotating characters in horizontal writing modes. With that you would be able to do things like this.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4921#issuecomment-627812743 using your GitHub account

Received on Wednesday, 13 May 2020 07:48:50 UTC