Skip to content

Commit cd0059a

Browse files
committed
[css-fonts-4] close w3c#4468 Add a ui-sans-serif keyword to go with ui-serif
1 parent 16e8d0a commit cd0059a

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,21 @@ Standard font families</h4>
427427
<img alt="sample ui-serif font" src="images/ui-serif.png" >
428428
<figcaption>Sample ui-serif font on macOS Catalina and iOS 13: New York</figcaption>
429429
</figure>
430-
</div>
430+
</div>
431+
432+
<dt id="ui-sans-serif-def"><dfn>ui-sans-serif</dfn>
433+
<dd>
434+
This font family is used for the sans-serif variant of the system's
435+
user interface. The purpose of ''ui-sans-serif'' is to allow web
436+
content to integrate with the look and feel of the native OS.
437+
438+
<!-- TOD add sample
439+
<div class="example">
440+
<figure>
441+
<img alt="sample ui-serif font" src="images/ui-serif.png" >
442+
<figcaption>Sample ui-serif font on macOS Catalina and iOS 13: New York</figcaption>
443+
</figure>
444+
</div> -->
431445

432446
<dt id="ui-monospace-def"><dfn>ui-monospace</dfn>
433447
<dd>
@@ -6183,7 +6197,7 @@ Changes
61836197

61846198
<ul>
61856199
<li>Add note encouraging UAs to also implement platform-specific names for standard font families</li>
6186-
<li>Add ui-serif, ui-monospace, and ui-rounded generic font families</li>
6200+
<li>Add ui-serif, ui-sans-serif, ui-monospace, and ui-rounded generic font families</li>
61876201
<li>Remove font-variant @font-face descriptor per WG resolution</li>
61886202
<li>Remove font-min-size and font-max-size per WG resolution</li>
61896203
<li>Clarify that font-style 'normal' animates as 'oblique 0deg'</li>

0 commit comments

Comments
 (0)