Re: [csswg-drafts] [css-inline] textBottom property (#4582)

> It is just about to make vertical-align: baseline stronger

Unfortunately, not exactly. It would require significant revision of the way how CSS controls the vertical position of the glyphs ([which might be rather counter-intuitive](http://iamvdo.me/en/blog/css-font-metrics-line-height-and-vertical-align), I admit).

To some extent, for the single-line text, the example from the initial post seems to be achievable by setting the line-height to zero (to make both above-baseline and below-baseline parts of the text "stick out" from the container) and adding an inline-block placeholder pseudo-element to push the baseline down by the needed length ([example](https://codepen.io/SelenIT/pen/NWGZrWj)).

That said. this issue shows another example of authors' common need to access and control the exact geometric position of the rendered text and is likely related to #4792.

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

Received on Thursday, 28 May 2020 11:33:00 UTC