Re: [csswg-drafts] [css-inline-3] Improve illustrations for text edges (#11364)

In addition to the comments above (and sorry if I'm misunderstanding something basic) but why is `text-edge: leading;` not actually leading?

<img width="790" alt="text-edge" src="https://github.com/user-attachments/assets/2831ade6-a631-4348-9aa7-01d4d5cd5def" />

If I'm understanding the illustration correctly, `text-edge: leading;` is actually line-height which splits the space evenly above and below the text, creating half leading which is the problem to begin with.

As a designer, I would expect `text-edge: leading;` to make the text behave like leading! 

To properly reflect the spacing behaviour, should things be changed to the following...
1. `text-edge: leading;` becomes `text-edge: line-height;` 
1. `text-edge: text;` becomes `text-edge: leading`?

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


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

Received on Friday, 20 December 2024 11:24:09 UTC