Skip to content

Commit 3d1ac3c

Browse files
committed
[css-fonts-4] Allow list in font-familydescriptor of @font-palette-values, #6916
1 parent 496bc38 commit 3d1ac3c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

css-fonts-4/Overview.bs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7038,19 +7038,17 @@ Font family: the 'font-family!!descriptor' descriptor</h4>
70387038

70397039
<pre class='descdef'>
70407040
Name: font-family
7041-
Value: <<'font-family'>>
7041+
Value: <<family-name>>#
70427042
For: @font-palette-values
70437043
Initial: N/A
70447044
</pre>
70457045

7046-
This descriptor defines the font family name that this palette applies to.
7047-
This palette will only ever be applied to the font with this name.
7048-
The value of this descriptor matches the definition of the <<family-name>>
7049-
for the 'font-family!!property' property.
7050-
This means that only named font families are allowed
7051-
and rules that including generic or installed fonts in the list of font families
7046+
This descriptor defines the font families that this palette applies to.
7047+
This palette will only ever be applied to the fonts with these family names.
7048+
The value of this descriptor means that only named font families are allowed
7049+
and rules that including generic fonts in the list of font families
70527050
are syntax errors.
7053-
If syntax errors occur within the font family list, the entire rule must be ignored.
7051+
If syntax errors occur within the font family list, the descriptor must be ignored.
70547052

70557053
<h4 id="base-palette-desc">
70567054
Specifying the base palette: the 'base-palette' descriptor</h4>

0 commit comments

Comments
 (0)