Skip to content
Merged
Changes from all commits
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
20 changes: 18 additions & 2 deletions css-conditional-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ Issue: In the future, copy the contents of [[css3-conditional]] into this docume
This level of the specification extends the <<supports-feature>> syntax as follows:

<pre class="prod def" nohighlight>
<dfn>&lt;supports-feature></dfn> = <<supports-selector-fn>> | <<supports-decl>>
<dfn>&lt;supports-feature></dfn> = <<supports-selector-fn>> | <<supports-font-technology-fn>> | <<supports-decl>>
<dfn>&lt;supports-selector-fn></dfn> = selector( <<complex-selector>> )
<dfn>&lt;supports-font-technology-fn></dfn> = font-technology ( <<font-technology>> )
<dfn>&lt;font-technology></dfn> = [ features-opentype | features-aat | features-graphite
| color-colrv0 | color-colrv1 | color-svg | color-sbix | color-cbdt
| variations | palettes | incremental ]
</pre>

: <<supports-selector-fn>>
Expand All @@ -44,6 +48,13 @@ This level of the specification extends the <<supports-feature>> syntax as follo
<a href="#dfn-support-selector">supports the selector</a>
provided as an argument to the function.

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


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

A CSS processor is considered to
Expand All @@ -52,5 +63,10 @@ if it accepts that selector (rather than discarding it as a
parse error), and that selector doesn't contain
<a>unknown -webkit- pseudo-elements</a>.

<h2 class=no-num id="acknowledgments">Acknowledgments</h2>
A CSS processor is considered to
<dfn export for=CSS id="dfn-support-font-technology">support a font technology</dfn>
when the text and layout processing engine ingesting
this CSS text is capable of utilising the specified font-technology
in layout and rendering.

<h2 class=no-num id="acknowledgments">Acknowledgments</h2>