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

[csswg-drafts] [css-fonts] Do generic fonts resolve to a single font face value?

From: Geoffrey Sneddon via GitHub <sysbot+gh@w3.org>
Date: Thu, 17 Aug 2017 23:46:04 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-251102772-1503013558-sysbot+gh@w3.org>
gsnedders has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts] Do generic fonts resolve to a single font face value? ==
See https://drafts.csswg.org/css-fonts-4/#generic-font-families and https://drafts.csswg.org/css-fonts-4/#font-matching-algorithm

Are:

 * `<p style='font-face: serif' lang='en'>Lorem ipsum dolor sit amet</p>`
 * `<p style='font-face: serif' lang='jp'>Lorem ipsum dolor sit amet</p>`

Guaranteed to render the same? The spec seems to imply, without directly stating, in various places that the generic font is a specific, probably user-specifiable font-face, which implies that they should. This is, I believe, not true in any browser: a Latin font is selected for the former, a Japanese font for the latter.

(Ref https://github.com/w3c/web-platform-tests/pull/6926 which made me realise this is unspecified behaviour.)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1736 using your GitHub account
Received on Thursday, 17 August 2017 23:46:04 UTC

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