[csswg-drafts] [css-inline-3][css-writing-modes] Baseline Alignment of Mixed Vertical Orientations (#5424)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline-3][css-writing-modes] Baseline Alignment of Mixed Vertical Orientations ==
In CSS Writing Modes, text and inline boxes are aligned using the central baseline. This gives the correct behavior across font changes _and also across orientation changes_.

However, `dominant-baseline` and `alignment-baseline` properties introduced by SVG / CSS Inline Layout Level 3 allow changing the baseline away from `central`. When orientations are mixed, this can result in some nonsensical things. For example, upright runs will often set their alphabetic baseline to coincide with the central baseline. If you try to align such an upright run with a sideways run, where the alphabetic baseline is to one side of the run, the result will not make any sense. They are trying to align using two different, incompatible baseline tables, essentially.

I think we need to make some special rules for when sideways and upright text are aligned to each other.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5424 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 August 2020 02:32:21 UTC