Skip to content

Commit 30b188b

Browse files
dletoreypepelsbey
andauthored
added release note for Namespaced attributes in attr() (#43789)
* added release not for Namespaced attributes in attr() * Update files/en-us/mozilla/firefox/experimental_features/index.md Co-authored-by: Vadim Makeev <hi@pepelsbey.dev> * Update files/en-us/mozilla/firefox/releases/150/index.md Co-authored-by: Vadim Makeev <hi@pepelsbey.dev> --------- Co-authored-by: Vadim Makeev <hi@pepelsbey.dev>
1 parent 25a72b4 commit 30b188b

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
@@ -344,6 +344,20 @@ The {{cssxref("attr")}} CSS function now supports [`<attr-type>`](/en-US/docs/We
344344
| Beta | 149 | No |
345345
| Release | 149 | No |
346346

347+
- `layout.css.attr.enabled`
348+
- : Set to `true` to enable.
349+
350+
### Namespaced attributes in `attr()` CSS function
351+
352+
The {{cssxref("attr")}} CSS function now accepts [namespaced attributes](/en-US/docs/Web/CSS/Reference/Values/attr#namespaces). This allows you to take attributes from elements of [XML](/en-US/docs/Web/XML)-based languages, such as [SVG](/en-US/docs/Web/SVG) and style them accordingly. ([Firefox bug 2014060](https://bugzil.la/2014060))
353+
354+
| Release channel | Version added | Enabled by default? |
355+
| ----------------- | ------------- | ------------------- |
356+
| Nightly | 150 | No |
357+
| Developer Edition | 150 | No |
358+
| Beta | 150 | No |
359+
| Release | 150 | No |
360+
347361
- `layout.css.attr.enabled`
348362
- : Set to `true` to enable.
349363

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ These features are shipping in Firefox 150 but are disabled by default.
114114
To experiment with them, search for the appropriate preference on the `about:config` page and set it to `true`.
115115
You can find more such features on the [Experimental features](/en-US/docs/Mozilla/Firefox/Experimental_features) page.
116116

117+
- **Namespaced attributes in `attr()` CSS function**: `layout.css.attr.enabled`
118+
119+
The {{cssxref("attr")}} CSS function now accepts [namespaced attributes](/en-US/docs/Web/CSS/Reference/Values/attr#namespaces). This allows you to take attributes from elements of [XML](/en-US/docs/Web/XML)-based languages, such as [SVG](/en-US/docs/Web/SVG) and style them accordingly. ([Firefox bug 2014060](https://bugzil.la/2014060))
120+
117121
- **Absolutely positioned elements in multi-column containers and when printing**: `layout.abspos.fragmentainer-aware-positioning.enabled`
118122

119123
Absolutely positioned elements inside [multi-column containers](/en-US/docs/Web/CSS/Guides/Multicol_layout) and when printing are now correctly positioned and fragmented. This improves interoperability with other browsers and prevents layout issues such as overlapping text or content loss. ([Firefox bug 2018797](https://bugzil.la/2018797)).

0 commit comments

Comments
 (0)