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

Re: [csswg-drafts] [css-fonts] font-variant-numeric: diagonal-fractions, in most fonts, doesn't work with semantic markup (#5756)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Wed, 02 Dec 2020 15:15:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-737293879-1606922101-sysbot+gh@w3.org>
Thanks for the clearly documented issue. The only things that is missing is what OpenType features are present in each of the fonts in your examples. Did you check this? A convenient way to do so, if you don't have font editing software to hand, is to use [Wakamai Fondu](https://wakamaifondue.com/) – just drag a font there (it is processed locally, not sent to a server, so does not infringe any font license) and get a report of (among other things) all the OT features.

Because, as you say, if [Gimlet](https://djr.com/gimlet/) behaves correctly then it is doing something different to the others listed.

Note that [the frac feature](https://docs.microsoft.com/en-us/typography/opentype/spec/features_fj#frac) is defined in terms of two other features, [numr](https://docs.microsoft.com/en-us/typography/opentype/spec/features_ko#numr) and [dnom](https://docs.microsoft.com/en-us/typography/opentype/spec/features_ae#dnom) and speaks of the _span of characters over which this feature has been applied by the user_ which imlies tight wrapping is preferred.

```html
<span class="fraction">22/7</span>
```
doesn't seem un-semantic, to me. For example, it could be styled various ways to indicate that it is a fraction.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 2 December 2020 15:15:04 UTC

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