Re: [csswg-drafts] Images with layout information (#4116)

> I don't think this is the case, since in vertical writing mode, the image will end up centered, which is likely to produce the correct result. (This is at least interoperable in Gecko and Chromium.)

We also have a similar problem in horizontal CJK, since `vertical-align: baseline` aligns with the alphabetic baseline. However images of CJK characters are usually designed to align with the ideographic baseline. I believe currently most authors use negative margins to manually shift to an approximation of the ideographic baseline.

[alignment-baseline](https://www.w3.org/TR/css-inline-3/#alignment-baseline-property) probably fixes this for ideographic characters, since they usually don't have descenders below the ideographic baseline. However, to fully enable alignment for images of characters with descenders I believe we need the baseline information.

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

Received on Monday, 16 September 2019 02:55:51 UTC