@@ -32,7 +32,7 @@ Default Highlight: css
32
32
<h2 id="introduction">Introduction</h2>
33
33
34
34
This 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 ]]
36
36
and have not yet been copied here.
37
37
38
38
It adds extensions to the ''@supports'' rule
@@ -67,14 +67,18 @@ Issue: In the future, copy the contents of [[css-conditional-3]] into this docum
67
67
This level of the specification extends the <<supports-feature>> syntax as follows:
68
68
69
69
<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>>
71
72
<dfn><supports-selector-fn></dfn> = selector( <<complex-selector>> )
72
73
<dfn><supports-font-technology-fn></dfn> = font-technology ( <<font-technology>> )
73
74
<dfn><font-technology></dfn> = [ features-opentype | features-aat | features-graphite
74
75
| color-colrv0 | color-colrv1 | color-svg | color-sbix | color-cbdt
75
76
| 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 ]
76
79
</pre>
77
80
81
+
78
82
: <<supports-selector-fn>>
79
83
::
80
84
The result is true if the UA
@@ -87,6 +91,11 @@ This level of the specification extends the <<supports-feature>> syntax as follo
87
91
<a href="dfn-support-font-technology">supports the font technology</a>
88
92
provided as an argument to the function.
89
93
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.
90
99
91
100
<h3 id="support-definition-ext">Extensions to the definition of support</h3>
92
101
@@ -99,7 +108,13 @@ parse error), and that selector doesn't contain
99
108
A CSS processor is considered to
100
109
<dfn export for=CSS id="dfn-support-font-technology">support a font technology</dfn>
101
110
when 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>>
103
118
in layout and rendering.
104
119
105
120
<h2 id="when-rule">Generalized Conditional Rules: the ''@when'' rule</h2>
0 commit comments