Re: [csswg-drafts] [css-fonts][cssom] Serialization of font properties when system font is specified

> These values shouldn't turn into the platform-specific font name. This is because on iOS and macOS, the "system font" is actually an entire cascade list of fonts, including Ping Fang for Chinese and our own custom Arabic system font. Therefore, representing a system font as simply the first entry in this fallback list is incorrect, and the keyword `menu` (in this case) should be returned instead.

`menu` isn't a reserved `font-family` keyword, so we can't return it as the value for `font-family`.  We need to introduce some specific keywords for handling that, which browsers currently have done with prefixed-keywords.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1586#issuecomment-314532347 using your GitHub account

Received on Tuesday, 11 July 2017 18:30:03 UTC