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

Re: [csswg-drafts] [css-inline] Leading control at start/end of block (#3240)

From: Srđan Prodanović via GitHub <sysbot+gh@w3.org>
Date: Sun, 29 Nov 2020 12:21:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-735385261-1606652472-sysbot+gh@w3.org>
I haven't seen `x-height` as a possible value for `leading-trim-under`.

The approach is often used when setting flowing text next to images:

![Image with paragraph](https://i.imgur.com/YU7ccbG.png)

![X-height aligned with the top of the outlined image](https://i.imgur.com/6AfdIno.png)

I would go as far as using it for button centering:

![Centered button text](https://i.imgur.com/4QNNirX.png)

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 29 November 2020 12:21:15 UTC

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