W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

Re: [csswg-drafts] [html] Change default <sup> and <sub> styling?

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Oct 2017 15:16:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-337266175-1508253398-sysbot+gh@w3.org>
Per [the spec](https://drafts.csswg.org/css-fonts/#propdef-font-variant-position), if the font doesn't support it, the UA *must* synthesize appropriately sized/aligned glyphs instead. It's not as good as native support (see the example in the spec) but it's basically equivalent to the current "size it smaller, shift it up/down" styling.

I think the CSSWG would be broadly supportive of this; compat concerns are my only doubt, but they're likely small. I can bring it up on the CSSWG call tomorrow.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1888#issuecomment-337266175 using your GitHub account
Received on Tuesday, 17 October 2017 15:16:43 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:19 UTC