W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

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

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Jul 2020 10:56:47 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-660956996-1595242606-sysbot+gh@w3.org>
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 https://github.com/w3c/csswg-drafts/issues/5015#issuecomment-660956996 using your GitHub account
Received on Monday, 20 July 2020 10:56:49 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC