Skip to content

Commit 818d039

Browse files
cdoublevsvgeesus
authored andcommitted
[css-fonts-5] Use local(<family-name>) #8187
1 parent 2aa602c commit 818d039

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

css-fonts-4/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2620,7 +2620,7 @@ or font format.
26202620
a locally available copy of a given font
26212621
and download it if it's not,
26222622
<code>local()</code> can be used.
2623-
The locally-installed <<font-face-name>> argument to <code>local()</code>
2623+
The locally-installed <<family-name>> argument to <code>local()</code>
26242624
is a format-specific string
26252625
that uniquely identifies a single font face
26262626
within a larger family.

css-fonts-5/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ according to section [[css-syntax#parse-comma-separated-list-of-component-values
357357
Then each component value is parsed according to this grammar:
358358

359359

360-
<pre><<url>> [ format(<<font-format>>)]? [ tech( <<font-tech>>#)]? | local(<<font-face-name>>)</pre>
360+
<pre><<url>> [ format(<<font-format>>)]? [ tech( <<font-tech>>#)]? | local(<<family-name>>)</pre>
361361

362362
<pre class="prod"><dfn id="font-format-values">&lt;font-format&gt;</dfn>
363363
= [<<string>> | collection | embedded-opentype | opentype

0 commit comments

Comments
 (0)