Skip to content

Commit d6d9f3e

Browse files
cdoublevsvgeesus
andauthored
[css-conditional-5] Import <font-format> and <font-tech> from CSS Fonts (#8111)
Co-authored-by: Chris Lilley <chris@w3.org>
1 parent 20b6715 commit d6d9f3e

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

css-conditional-5/Overview.bs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -74,37 +74,21 @@ Extensions to the ''@supports'' rule</h2>
7474
<dfn>&lt;supports-feature></dfn> = <<supports-selector-fn>> | <<supports-font-tech-fn>>
7575
| <<supports-font-format-fn>> | <<supports-decl>>
7676
<dfn>&lt;supports-font-tech-fn></dfn> = font-tech( <<font-tech>> )
77-
<dfn>&lt;font-tech></dfn> = [ features-opentype | features-aat | features-graphite
78-
| color-colrv0 | color-colrv1 | color-svg | color-sbix | color-cbdt
79-
| variations | palettes | incremental ]
8077
<dfn>&lt;supports-font-format-fn></dfn> = font-format( <<font-format>> )
81-
<dfn>&lt;font-format></dfn> = [ collection | embedded-opentype | opentype
82-
| svg | truetype | woff | woff2 ]
8378
</pre>
8479

85-
ISSUE: <<font-format>> and <<font-tech>> should be imported from css-fonts-4, not defined here.
86-
87-
8880
: <<supports-font-tech-fn>>
8981
::
9082
The result is true if the UA
9183
<a href="#dfn-support-font-tech">supports the font tech</a>
9284
provided as an argument to the function.
9385

94-
Note: The allowed values for the ''font-tech()'' function
95-
are the same as those for the ''tech()'' function
96-
in the '@font-face' '@font-face/src' descriptor.
97-
9886
: <<supports-font-format-fn>>
9987
::
10088
The result is true if the UA
10189
<a href="#dfn-support-font-format">supports the font format</a>
10290
provided as an argument to the function.
10391

104-
Note: The allowed values for the ''font-format()'' function
105-
are the same as those for the ''format()'' function
106-
in the '@font-face' '@font-face/src' descriptor.
107-
10892
<h3 id="support-definition-ext">
10993
Extensions to the definition of support</h3>
11094

@@ -116,7 +100,8 @@ Extensions to the definition of support</h3>
116100
A CSS processor is considered to
117101
<dfn export for=CSS id="dfn-support-font-format">support a font format</dfn>
118102
when it is capable of utilising the specified [[css-fonts-4#font-format-definitions]]
119-
in layout and rendering.
103+
in layout and rendering,
104+
and this format is not specified as a <<string>>.
120105

121106
<h2 id="when-rule">
122107
Generalized Conditional Rules: the ''@when'' rule</h2>

0 commit comments

Comments
 (0)