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

[csswg-drafts] [css-inline-3] Sizing layout bounds (line box) to fit fallback glyphs (#5238)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Jun 2020 06:28:16 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-640944857-1592461695-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline-3] Sizing layout bounds (line box) to fit fallback glyphs ==
There are two independent ways in which the “size” of an inline box is relevant:
- what size is used for its content box, for painting its background
- what size is used when trying to figure out if it "fits" within the line box, or if the line box needs to grow (the “layout bounds”)

https://github.com/w3c/csswg-drafts/issues/5226 is about the first issue.

This issue is about the second one. Currently we only consider fallback glyphs when line-height is normal; in other cases we only consider the first available font. But we do consider glyphs in descendant boxes in all cases. So a few questions:

In particular, given the ability of `text-edge` to trim into the glyph which exacerbates any overflow/overwrite effects as a result of differing fallback font metrics, would we want to either make that possible, either as the default or as an option?

This is a follow-up issue from today's [discussion on text-edge and leading-trim](https://lists.w3.org/Archives/Public/www-style/2020Jun/0019.html).

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5238 using your GitHub account
Received on Thursday, 18 June 2020 06:28:17 UTC

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