Skip to content

Commit 22558d5

Browse files
lahmatiysvgeesus
authored andcommitted
Fix <'font'> syntax, simplify <font-variant-css2> and <font-width-css3> syntaxes
1 parent f617e1a commit 22558d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-fonts-4/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ Shorthand font property: the 'font' property</h3>
17051705
<<font-variant-css2>> ||
17061706
<<'font-weight'>> ||
17071707
<<font-width-css3>> ]? <<'font-size'>> [ / <<'line-height'>> ]?
1708-
<<'font-family'>> ] |
1708+
<<'font-family'>># ] |
17091709
<<system-family-name>>
17101710
Initial: see individual properties
17111711
Applies to: all elements and text
@@ -1750,17 +1750,17 @@ Shorthand font property: the 'font' property</h3>
17501750
'font!!property' shorthand:
17511751

17521752
<pre class="prod"><dfn id="font-variant-css21-values"><<font-variant-css2>></dfn>
1753-
= [normal | small-caps]</pre>
1753+
= normal | small-caps</pre>
17541754

17551755
Values for the 'font-width!!property' property can also be included
17561756
but only those supported in CSS Fonts level 3,
17571757
none of the 'font-width!!property' values added in this specification
17581758
can be used in the 'font' shorthand:
17591759

17601760
<pre class="prod"><dfn id="font-width-css3-values"><<font-width-css3>></dfn>
1761-
= [normal | ultra-condensed | extra-condensed | condensed |
1761+
= normal | ultra-condensed | extra-condensed | condensed |
17621762
semi-condensed | semi-expanded | expanded | extra-expanded |
1763-
ultra-expanded]</pre>
1763+
ultra-expanded</pre>
17641764

17651765
Therefore we have the following classification
17661766
of font-related properties

0 commit comments

Comments
 (0)