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

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

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Tue, 28 Jul 2020 22:19:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-665314486-1595974760-sysbot+gh@w3.org>
I was playing around to figure out which properties on the superscript element could currently be used to allow a superscript/subscript to extend outside the line box. Negative `margin-top` doesn't seem to work, [but `line-height: 0` does](https://codepen.io/AmeliaBR/pen/befe8fb716136082a7df11d2c588622f?editors=0100) (or some fraction less than one that cancels out the overlap region).

Just in case anyone is looking for a workaround until we come up with a proper solution…

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5239#issuecomment-665314486 using your GitHub account
Received on Tuesday, 28 July 2020 22:19:23 UTC

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