Skip to content

Commit 7f8d818

Browse files
author
Litherum
committed
[css-fonts-4] Add note encouraging UAs to also implement platform-specific names for standard font families
As per @fantasai's comment in #4107 (comment)
1 parent 9a08525 commit 7f8d818

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

css-fonts-4/Overview.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,15 @@ Standard font families</h4>
409409
Unicode range of the character, the content language of the containing
410410
element, user preferences, system settings, etc.
411411

412+
Note: These standard font families are expected to exist on different
413+
platforms, but be backed by different fonts. However, some CSS authors might
414+
prefer to handle this kind of platform-specific fallback themselves using
415+
the 'font-family!!property' property. Therefore, user agents are encouraged
416+
to also expose these standard font families by other, platform-specific,
417+
font-family names, in addition to the standard names given here. Authors can
418+
use these additional names to control font fallback themselves between different
419+
platforms.
420+
412421
<dl dfn-for="font-family,<generic-family>" dfn-type=value>
413422
<dt id="ui-serif-def"><dfn>ui-serif</dfn>
414423
<dd>

0 commit comments

Comments
 (0)