Re: [csswg-drafts] [css-inline-3] `text-edge` doesn’t allow for fine-tunability (like how `line-height` does) (#8478)

I don't think that these two properties can be merged. The inline contents of a line are not identical, so there's a question of whether something “fits” within the standard box or not.

The purpose of `text-edge` is to control what the bounds of an inline are for the purpose of determining its fit within a line box. This is distinct from controlling the desired height of the line box (`line-height`). Typically the distance from the top `text-edge` to the bottom is less than the desired `line-height`.

Now, you _might_ want to be able to define the line height in terms of a line _gap_ instead of a line _height_. And we could add syntax to allow for that. But it needs to be separate from what `text-edge` is doing, and it also brings up the interesting question in https://github.com/w3c/csswg-drafts/issues/5564.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 29 March 2023 03:56:23 UTC