Re: [csswg-drafts] [css-inline-3] Initial-letters layout can be improved (#5015)

Currently "raise" is defined as setting an initial letter sink of "1", so yes - with no changes to that definition, that's exactly what would happen, and yes it would be weird. But if the model was going to change the definition of how "raise" was defined would necessarily need to change as well, and I figured we'd cross that bridge if we got there.

Your "alignment-point switch" idea is quite clever. It seems to cover zed-vectors cases for latin, and mine for Hindi, at least with the fonts I tested with. I'll try and get it implemented over the next few days too see how well it works.

I don't know if there are any cases where bottom-alignment would be wanted for latin where size < sink (i.e. the existing behaviour), but short of providing the author a switch to choose (i.e. with `align-self`) it seems like a much better default behaviour than we have now. 

GitHub Notification of comment by faceless2
Please view or discuss this issue at using your GitHub account

Received on Monday, 20 July 2020 10:56:49 UTC