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

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