Skip to content

Commit 933dc28

Browse files
authored
added experimental release notes for CSS anchor-size() function (#40566)
1 parent 3d3667d commit 933dc28

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
@@ -323,6 +323,20 @@ The CSS {{CSSXRef(":active-view-transition")}} pseudo-class enables you to style
323323
- `dom.viewTransitions.enabled`
324324
- : Set to `true` to enable.
325325

326+
### `anchor-size()` function
327+
328+
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)).
329+
330+
| Release channel | Version added | Enabled by default? |
331+
| ----------------- | ------------- | ------------------- |
332+
| Nightly | 142 | No |
333+
| Developer Edition | 142 | No |
334+
| Beta | 142 | No |
335+
| Release | 142 | No |
336+
337+
- `layout.css.anchor-positioning.enabled`
338+
- : Set to `true` to enable.
339+
326340
## SVG
327341

328342
**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
@@ -80,6 +80,10 @@ Firefox 142 is the current [Beta version of Firefox](https://www.firefox.com/en-
8080

8181
## Experimental web features
8282

83+
- **`anchor-size()`** (Nightly): `layout.css.anchor-positioning.enabled`
84+
85+
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)).
86+
8387
These features are shipping in Firefox 142 but are disabled by default.
8488
To experiment with them, search for the appropriate preference on the `about:config` page and set it to `true`.
8589
You can find more such features on the [Experimental features](/en-US/docs/Mozilla/Firefox/Experimental_features) page.

0 commit comments

Comments
 (0)