Re: [csswg-drafts] [css-inline-3] `text-edge` only has an effect by itself in corner cases (#8475)

> > One potential solution is to make text-edge apply to the root inline box too.
> 
> That would mean that the line-height can never be more than 1em, which makes no sense...

Why not?

Where does the 1em calculation come from? In most fonts, A + D does not equal 1em.

Maybe you referring to this section in the spec:

> However, if [text-edge](http://w3c.github.io/csswg-drafts/css-inline-3/#propdef-text-edge) is not [leading](http://w3c.github.io/csswg-drafts/css-inline-3/#valdef-text-edge-leading) and this is not the [root inline box](http://w3c.github.io/csswg-drafts/css-inline-3/#root-inline-box), if the [half-leading](http://w3c.github.io/csswg-drafts/css-inline-3/#half-leading) is positive, treat it as zero.

We filed https://github.com/w3c/csswg-drafts/issues/8476 about this section; it doesn't seem to make a lot of sense either :)

-- 
GitHub Notification of comment by litherum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8475#issuecomment-1487996713 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 06:06:09 UTC