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

Re: [csswg-drafts] [css-inline-3] Initial-letter alignment when 'over-sunk' (#5329)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Jul 2020 01:51:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-660755045-1595209903-sysbot+gh@w3.org>
So, there's two ways we could handle this:

- When size > sink, align to the bottom metric; but when size < sink, align to the top metric.
- Use the range between the top and bottom metrics of the paragraph as the alignment container, and the top and bottom metrics of the initial letter as the alignment subject, and honor `align-self` to dictate the alignment when they don't match up, defaulting `normal` to baseline alignment as dictated by the initial letter’s `alignment-baseline`.

The second option is strictly more powerful. We could also try to do both simultaneously, but that might get a bit confusing...

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5329#issuecomment-660755045 using your GitHub account
Received on Monday, 20 July 2020 01:51:46 UTC

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