Skip to content

Commit 1bf759c

Browse files
cdoublevsvgeesus
authored andcommitted
[css-fonts-4] Define src with <font-src-list>
1 parent 7215518 commit 1bf759c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

css-fonts-4/Overview.bs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,7 +2440,7 @@ The <dfn id="at-font-face-rule">''@font-face''</dfn> rule</h3>
24402440

24412441
<pre class='descdef'>
24422442
Name: src
2443-
Value: see prose
2443+
Value: <<font-src-list>>
24442444
For: @font-face
24452445
Initial: N/A
24462446
</pre>
@@ -2469,12 +2469,9 @@ The <dfn id="at-font-face-rule">''@font-face''</dfn> rule</h3>
24692469

24702470
<h4 id="font-face-src-parsing">Parsing the 'src!!descriptor' descriptor</h4>
24712471

2472-
The 'src!!descriptor' descriptor value must be parsed
2473-
according to section [[css-syntax#parse-comma-separated-list-of-component-values]].
2474-
Then each component value is parsed according to this grammar:
2472+
To parse a <dfn><<font-src-list>></dfn> production, [=parse a list=] of <<font-src>>s.
24752473

2476-
2477-
<pre><<url>> [ format(<<font-format>>)]? [ tech( <<font-tech>>#)]? | local(<<family-name>>)</pre>
2474+
<pre class="prod"><dfn>&lt;font-src></dfn> = <<url>> [ format(<<font-format>>)]? [ tech( <<font-tech>>#)]? | local(<<family-name>>)</pre>
24782475

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

0 commit comments

Comments
 (0)