Skip to content

Commit

Permalink
[css-fonts-4] Add note encouraging UAs to also implement platform-spe…
Browse files Browse the repository at this point in the history
…cific names for standard font families

As per @fantasai's comment in #4107 (comment)
  • Loading branch information
Litherum committed Nov 3, 2019
1 parent 9a08525 commit 7f8d818
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions css-fonts-4/Overview.bs
Expand Up @@ -409,6 +409,15 @@ Standard font families</h4>
Unicode range of the character, the content language of the containing
element, user preferences, system settings, etc.

Note: These standard font families are expected to exist on different
platforms, but be backed by different fonts. However, some CSS authors might
prefer to handle this kind of platform-specific fallback themselves using
the 'font-family!!property' property. Therefore, user agents are encouraged
to also expose these standard font families by other, platform-specific,
font-family names, in addition to the standard names given here. Authors can
use these additional names to control font fallback themselves between different
platforms.

<dl dfn-for="font-family,<generic-family>" dfn-type=value>
<dt id="ui-serif-def"><dfn>ui-serif</dfn>
<dd>
Expand Down

0 comments on commit 7f8d818

Please sign in to comment.