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

layer function is actually experimental #10229

Merged
merged 2 commits into from
Nov 5, 2021
Merged
Show file tree
Hide file tree
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
40 changes: 40 additions & 0 deletions files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,46 @@ The {{cssxref("math-style")}} property indicates whether MathML equations should
</tbody>
</table>

### @layer rule and layer() function

The [`@layer`](en-US/docs/Web/CSS/@layer) rule declares a cascade layer, which allows declaration of styles and can be imported via the [`@import`](/en-US/docs/Web/CSS/@import) rule using the `layer()` function. (See {{bug(1699217)}} 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>94</td>
<td>No</td>
</tr>
<tr>
<th>Developer Edition</th>
<td>94</td>
<td>No</td>
</tr>
<tr>
<th>Beta</th>
<td>94</td>
<td>No</td>
</tr>
<tr>
<th>Release</th>
<td>94</td>
<td>No</td>
</tr>
<tr>
<th>Preference name</th>
<td colspan="2"><code>layout.css.cascade-layers.enabled</code></td>
</tr>
</tbody>
</table>

## SVG

### Presentation attribute: d
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/mozilla/firefox/releases/94/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ No notable changes

### CSS

- The [`@import`](/en-US/docs/Web/CSS/@import) rule now supports the `layer()` function, which specifies a cascade layer defined using the [`@layer`](/en-US/docs/Web/CSS/@layer) rule ({{bug(1699217)}}).
No notable changes

### JavaScript

Expand Down