W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-fonts-3] @font-face font-variant cannot easily be reverted to default

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Feb 2018 21:58:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-362719843-1517608733-sysbot+gh@w3.org>
You have a point. The specific example you give is fairly easy:
```
.nonhistoric {
  font-variant-alternates: none;
}
```
Because the spec defines

> normal
>    None of the features listed below are enabled. 

But consider instead the following

```
section {
  font-variant-alternates: swash(flowing) annotation(circled) historical-forms;
}
section .nonhistoric {
  // leave the swash and the annotation settings but unset historical forms
}
```
One solution would be to add off switches, for example `no-historical-forms` and `swash(none)` and so on.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2265#issuecomment-362719843 using your GitHub account
Received on Friday, 2 February 2018 21:58:58 UTC

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