Skip to content

Commit

Permalink
layer function is actually experimental (#10229)
Browse files Browse the repository at this point in the history
* layer function is actually experimental

* edits
  • Loading branch information
Rumyra authored Nov 5, 2021
1 parent e0465f0 commit 3f10cea
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
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 @@ -512,6 +512,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

0 comments on commit 3f10cea

Please sign in to comment.