Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions css-conditional-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -74,37 +74,21 @@ Extensions to the ''@supports'' rule</h2>
<dfn>&lt;supports-feature></dfn> = <<supports-selector-fn>> | <<supports-font-tech-fn>>
| <<supports-font-format-fn>> | <<supports-decl>>
<dfn>&lt;supports-font-tech-fn></dfn> = font-tech( <<font-tech>> )
<dfn>&lt;font-tech></dfn> = [ features-opentype | features-aat | features-graphite
| color-colrv0 | color-colrv1 | color-svg | color-sbix | color-cbdt
| variations | palettes | incremental ]
<dfn>&lt;supports-font-format-fn></dfn> = font-format( <<font-format>> )
<dfn>&lt;font-format</dfn> = [ collection | embedded-opentype | opentype
| svg | truetype | woff | woff2 ]
</pre>

ISSUE: <<font-format>> and <<font-tech>> should be imported from css-fonts-4, not defined here.


: <<supports-font-tech-fn>>
::
The result is true if the UA
<a href="#dfn-support-font-tech">supports the font tech</a>
provided as an argument to the function.

Note: The allowed values for the ''font-tech()'' function
are the same as those for the ''tech()'' function
in the '@font-face' '@font-face/src' descriptor.

: <<supports-font-format-fn>>
::
The result is true if the UA
<a href="#dfn-support-font-format">supports the font format</a>
provided as an argument to the function.

Note: The allowed values for the ''font-format()'' function
are the same as those for the ''format()'' function
in the '@font-face' '@font-face/src' descriptor.

<h3 id="support-definition-ext">
Extensions to the definition of support</h3>

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

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