Skip to content

Commit d70c234

Browse files
committed
[css-fonts-4] add missing small-caps value to font-synthesis w3c#5790
1 parent b4f2ea4 commit d70c234

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

css-fonts-4/Overview.bs

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ Controlling synthetic faces: the 'font-synthesis' shorthand</h4>
15121512

15131513
<pre class="propdef">
15141514
Name: font-synthesis
1515-
Value: none | [ weight || style ]
1515+
Value: none | [ weight || style || small-caps]
15161516
Initial: weight style small-caps
15171517
Applies to: all elements and text
15181518
Inherited: yes
@@ -1521,32 +1521,58 @@ Controlling synthetic faces: the 'font-synthesis' shorthand</h4>
15211521
Animation type: discrete
15221522
</pre>
15231523

1524-
This property is a shorthand for the 'font-synthesis-weight'
1525-
and 'font-synthesis-style' properties. Values are mapped as following:
1524+
This property is a shorthand for the 'font-synthesis-weight',
1525+
'font-synthesis-style', and
1526+
'font-synthesis-small-caps' properties. Values are mapped as following:
15261527

15271528
<table class='data'>
15281529
<thead>
15291530
<tr>
15301531
<th>'font-synthesis' value
15311532
<th>'font-synthesis-weight' value
15321533
<th>'font-synthesis-style' value
1534+
<th>'font-synthesis-small-caps' value</th>
15331535
<tbody>
15341536
<tr>
15351537
<th>none
15361538
<td>none
15371539
<td>none
1540+
<td>none
15381541
<tr>
15391542
<th>weight
15401543
<td>auto
15411544
<td>none
1545+
<td>none
15421546
<tr>
15431547
<th>style
15441548
<td>none
15451549
<td>auto
1550+
<td>none
1551+
<tr>
1552+
<th>small-caps
1553+
<td>none
1554+
<td>none
1555+
<td>auto
15461556
<tr>
15471557
<th>weight style
15481558
<td>auto
15491559
<td>auto
1560+
<td>none
1561+
<tr>
1562+
<th>weight small-caps
1563+
<td>auto
1564+
<td>none
1565+
<td>auto
1566+
<tr>
1567+
<th>style small-caps
1568+
<td>none
1569+
<td>auto
1570+
<td>auto
1571+
<tr>
1572+
<th>weight style small-caps
1573+
<td>auto
1574+
<td>auto
1575+
<td>auto
15501576
</table>
15511577

15521578
<div class="example">

0 commit comments

Comments
 (0)