Skip to content

Commit a8c3a70

Browse files
dletoreydipikabh
andauthored
added ff release notes for :heading pseudo-classes (mdn#40655)
* added ff release notes for :heading pseudo-classes * Update files/en-us/mozilla/firefox/experimental_features/index.md Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org> * updated the 142 experimental note --------- Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
1 parent 6eae35b commit a8c3a70

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

files/en-us/mozilla/firefox/experimental_features/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,20 @@ The CSS {{CSSXRef("anchor-size")}} function enables setting anchor-positioned el
337337
- `layout.css.anchor-positioning.enabled`
338338
- : Set to `true` to enable.
339339

340+
### `:heading` and `:heading()` pseudo-classes
341+
342+
The {{CSSXRef(":heading")}} pseudo-class allows you to style all [heading elements](/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements) (`<h1>`-`<h6>`) at once, rather than targeting them individually. The {{CSSXRef(":heading_function", ":heading()")}} functional pseudo-class allows you to style heading elements that match the [`<An+B>`](/en-US/docs/Web/CSS/:heading_function#functional_notation) notation. ([Firefox bug 1974386](https://bugzil.la/1974386)).
343+
344+
| Release channel | Version added | Enabled by default? |
345+
| ----------------- | ------------- | ------------------- |
346+
| Nightly | 142 | No |
347+
| Developer Edition | 142 | No |
348+
| Beta | 142 | No |
349+
| Release | 142 | No |
350+
351+
- `layout.css.heading-selector.enabled`
352+
- : Set to `true` to enable.
353+
340354
## SVG
341355

342356
**No experimental features in this release cycle.**

files/en-us/mozilla/firefox/releases/142/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ Firefox 142 is the current [Beta version of Firefox](https://www.firefox.com/en-
8989

9090
The CSS {{CSSXRef("anchor-size")}} function enables setting anchor-positioned element's size, position, and margins relative to the dimensions of anchor elements. ([Firefox bug 1972610](https://bugzil.la/1972610)).
9191

92+
- **`:heading`** and **`:heading()`**: `layout.css.anchor-positioning.enabled`
93+
94+
The CSS {{CSSXRef(":heading")}} pseudo-class allows you to style all [heading elements](/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements) (`<h1>`-`<h6>`) at once rather than targeting them individually. The {{CSSXRef(":heading_function", ":heading()")}} functional pseudo-class allows you to style heading elements that match the [`<An+B>`](/en-US/docs/Web/CSS/:heading_function#functional_notation) notation. ([Firefox bug 1974386](https://bugzil.la/1974386)).
95+
9296
- **`Integrity-Policy` and `Integrity-Policy-Report-Only`** (Nightly): `security.integrity_policy.enabled`
9397

9498
The {{httpheader("Integrity-Policy")}} and {{httpheader("Integrity-Policy-Report-Only")}} HTTP headers are now supported. These allow websites to either enforce [subresource integrity guarantees](/en-US/docs/Web/Security/Subresource_Integrity) for scripts or only report violations of the policy, respectively.

0 commit comments

Comments
 (0)