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

Re: [csswg-drafts] [css-fonts] Feature resolution and caps synthesis conflicting

From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
Date: Wed, 08 Mar 2017 22:45:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-285194813-1489013125-sysbot+gh@w3.org>
With the following test, Firefox, Safari, and Chrome all agree on the rendering (modulo the implementation of `font-synthesis: small-caps;`):

```
<div style="font: 100px 'Avenir Next'; font-variant-caps: small-caps;">Hello, World</div>
<div style="font: 100px 'Avenir Next'; font-variant-caps: small-caps; font-synthesis: none;">Hello, World</div>
<div style="font: 100px 'Avenir Next'; font-variant-caps: small-caps; font-feature-settings: 'smcp' 0;">Hello, World</div>
<div style="font: 100px 'Avenir Next';">Hello, World</div>
<div style="font: 100px 'Times'; font-variant-caps: small-caps;">Hello, World</div>
<div style="font: 100px 'Times'; font-variant-caps: small-caps; font-synthesis: none;">Hello, World</div>
<div style="font: 100px 'Times'; font-variant-caps: small-caps; font-feature-settings: 'smcp' 0;">Hello, World</div>
<div style="font: 100px 'Times';">Hello, World</div>
```

Therefore, option 1 should be in the spec.

-- 
GitHub Notification of comment by litherum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/259#issuecomment-285194813 using your GitHub account
Received on Wednesday, 8 March 2017 22:45:32 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:30 UTC