Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@font-face src tech() function - add to experimental features #20791

Merged
merged 4 commits into from
Sep 19, 2022
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
41 changes: 41 additions & 0 deletions files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,47 @@ See {{bug(1774589)}} for more details.
</tbody>
</table>

### @font-face src feature checking checking

The `@font-face` [`src` descriptor](/en-US/docs/Web/CSS/@font-face/src) now supports the `tech()` function, allowing fallback of whether a font resource is downloaded based on whether the user-agent supports a particular font feature or technology.
See {{bug(1715546)}} for more details.

<table>
<thead>
<tr>
<th>Release channel</th>
<th>Version added</th>
<th>Enabled by default?</th>
</tr>
</thead>
<tbody>
<tr>
<th>Nightly</th>
<td>105</td>
<td>Yes</td>
</tr>
<tr>
<th>Developer Edition</th>
<td>105</td>
<td>No</td>
</tr>
<tr>
<th>Beta</th>
<td>105</td>
<td>No</td>
</tr>
<tr>
<th>Release</th>
<td>105</td>
<td>No</td>
</tr>
<tr>
<th>Preference name</th>
<td colspan="2"><code>layout.css.font-tech.enabled</code></td>
</tr>
</tbody>
</table>

## SVG

### SVGPathSeg APIs
Expand Down