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

Re: [csswg-drafts] [css-fonts] description of font-style:italic is wrong

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Tue, 06 Feb 2018 18:58:47 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-363527962-1517943526-sysbot+gh@w3.org>
Huh. normal 

> Matches against a face that is classified as a normal face, one that is neither italic or obliqued. This represents an oblique value of "0".

```
@font-face {
  font-family: foo;
  src: url(foo-book.woff);
}
@font-face {
  font-family: foo;
  font-style: oblique;
  src: url(foo-obl.woff);
}
p { 
  font-family: foo;
  font-style: oblique 0 
}
```

So that matches foo-book because it asks for an angle of zero? Or foo-obl because that is the only one declared as oblique?
  

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2278#issuecomment-363527962 using your GitHub account
Received on Tuesday, 6 February 2018 18:58:51 UTC

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