@@ -32,7 +32,7 @@ Default Highlight: css
3232<h2 id="introduction">Introduction</h2>
3333
3434This is currently an early draft of the things that are <em> new</em> in level 4.
35- The features in level 3 are still defined in [[css3 -conditional]]
35+ The features in level 3 are still defined in [[css -conditional-3 ]]
3636and have not yet been copied here.
3737
3838It adds extensions to the ''@supports'' rule
@@ -67,14 +67,18 @@ Issue: In the future, copy the contents of [[css-conditional-3]] into this docum
6767This level of the specification extends the <<supports-feature>> syntax as follows:
6868
6969<pre class="prod def" nohighlight>
70- <dfn><supports-feature></dfn> = <<supports-selector-fn>> | <<supports-font-technology-fn>> | <<supports-decl>>
70+ <dfn><supports-feature></dfn> = <<supports-selector-fn>> | <<supports-font-technology-fn>>
71+ | <<supports-font-format-fn>> | <<supports-decl>>
7172 <dfn><supports-selector-fn></dfn> = selector( <<complex-selector>> )
7273 <dfn><supports-font-technology-fn></dfn> = font-technology ( <<font-technology>> )
7374 <dfn><font-technology></dfn> = [ features-opentype | features-aat | features-graphite
7475 | color-colrv0 | color-colrv1 | color-svg | color-sbix | color-cbdt
7576 | variations | palettes | incremental ]
77+ <dfn><supports-font-format-fn></dfn> = font-format ( <<font-format>> )
78+ <dfn><font-format</dfn> = [ collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]
7679</pre>
7780
81+
7882: <<supports-selector-fn>>
7983::
8084 The result is true if the UA
@@ -87,6 +91,11 @@ This level of the specification extends the <<supports-feature>> syntax as follo
8791 <a href="dfn-support-font-technology">supports the font technology</a>
8892 provided as an argument to the function.
8993
94+ : <<supports-font-format-fn>>
95+ ::
96+ The result is true if the UA
97+ <a href="#dfn-support-font-format">supports the font format</a>
98+ provided as an argument to the function.
9099
91100<h3 id="support-definition-ext">Extensions to the definition of support</h3>
92101
@@ -99,7 +108,13 @@ parse error), and that selector doesn't contain
99108A CSS processor is considered to
100109<dfn export for=CSS id="dfn-support-font-technology">support a font technology</dfn>
101110when the text and layout processing engine ingesting
102- this CSS text is capable of utilising the specified font-technology
111+ this CSS text is capable of utilising the specified <<font-technology>>
112+ in layout and rendering.
113+
114+ A CSS processor is considered to
115+ <dfn export for=CSS id="dfn-support-font-format">support a font format</dfn>
116+ when the text and layout processing engine ingesting
117+ this CSS text is capable of utilising the specified <<font-format>>
103118in layout and rendering.
104119
105120<h2 id="when-rule">Generalized Conditional Rules: the ''@when'' rule</h2>
0 commit comments