Re: [csswg-drafts] [css-inline-3] Tight vs loose fit into a line box (#5239)

<img width="1017" alt="superscript" src="https://user-images.githubusercontent.com/5687700/88228838-c184d200-cc3d-11ea-907e-6a629dd9ce3e.png">

I went back and looked at the case of an ordinary superscript in text. Even with `text-edge: text` or `text-edge: cap` it seems like the `sup` box intrudes into the half-leading of the previous line. I think you'd have to set `text-edge: ex` to get the effect in the illustration? 

Yellow = ascent/descent bounds for superscript
Green = top/bottom half-leading for superscript
Blue = top/bottom half-leading for regular text
Ascent and cap height metrics for superscript are in red (data is from Adobe Caslon Pro)

Cap height and ex height are shown in red in the diagram (info is from Adobe Caslon Pro). 

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

Received on Wednesday, 22 July 2020 21:13:24 UTC