Re: [csswg-drafts] [css-fonts] Proposal to expose font metrics (#4780)

The x-height is already exposed as the `ex` unit, the similar unit for the cap height (`cap`) has been proposed for the CSS Values and Units Level 4 (though, according to MDN, no browser has implemented it yet). AFAIK, there were numerous attempts to use other metrics as well, but the problem is that they are not reliable enough, especially across different platforms (many issues were well explained in this talk: https://twitter.com/fantasai/status/985809843545030656).

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

Received on Monday, 17 February 2020 08:53:02 UTC