@@ -2040,25 +2040,25 @@ according to section [[css-syntax#parse-comma-separated-list-of-component-values
2040
2040
Then each component value is parsed according to this grammar:
2041
2041
2042
2042
2043
- <pre> <<url>> [ format(<<font-format>> [supports <<font-technology>>#] ? )]? | local(<<font-face-name>> )</pre>
2043
+ <pre> <<url>> [ format(<<font-format>>)] ? [ technology( <<font-technology>>#)] ? | local(<<font-face-name>> )</pre>
2044
2044
2045
2045
<pre class="prod"><dfn id="font-format-values"><font-format></dfn>
2046
2046
= [<<string>> | woff | truetype | opentype
2047
2047
| woff2 | embedded-opentype | collection | svg]</pre>
2048
2048
2049
2049
<pre class="prod"><dfn id="font-technology-values"><font-technology></dfn>
2050
- = [features( <<font-feature-technology>> ) | variations
2051
- | color( <<color-font-technology>> ) | palettes
2050
+ = <<font-feature-technology>> | variations
2051
+ | <<color-font-technology>> | palettes
2052
2052
| incremental ]</pre>
2053
2053
2054
2054
<pre class="prod"><dfn id="font-feature-technology-values"><font-feature-technology></dfn>
2055
- = [opentype | aat | graphite]</pre>
2055
+ = [feature- opentype | feature- aat | feature- graphite]</pre>
2056
2056
2057
2057
<pre class="prod"><dfn id="color-font-technology-values"><color-font-technology></dfn>
2058
- = [COLRv0 | COLRv1 | SVG | sbix | CBDT ]</pre>
2058
+ = [color- COLRv0 | color- COLRv1 | color- SVG | color- sbix | color- CBDT ]</pre>
2059
2059
2060
2060
If a component value is parsed correctly
2061
- and is of a format and font technology that the UA supports,
2061
+ and is of a font format or font technology that the UA supports,
2062
2062
add it to the list of supported sources.
2063
2063
If parsing a component value results in a parsing error
2064
2064
or its format or technology are unsupported,
@@ -2068,7 +2068,8 @@ If there are no supported entries at the end of this process,
2068
2068
the value for the 'src!!descriptor' descriptor is a parse error.
2069
2069
2070
2070
These parsing rules allow for graceful fallback of fonts
2071
- for user agents which don't support a particular font technology.
2071
+ for user agents which don't support a particular font technology
2072
+ or font format.
2072
2073
2073
2074
<div class="example" id="ex-incremental">
2074
2075
For example,
@@ -2087,7 +2088,7 @@ for user agents which don't support a particular font technology.
2087
2088
@font-face {
2088
2089
font-family: "MyIncrementallyLoadedWebFont";
2089
2090
src: url("FallbackURLForBrowsersWhichDontSupportIncrementalLoading.woff2") format("woff2");
2090
- src: url("MyIncrementallyLoadedWebFont.otf") format(opentype supports incremental);
2091
+ src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) technology( incremental);
2091
2092
}
2092
2093
</pre>
2093
2094
</div>
0 commit comments