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

added release note for CSSPropertyRule and registerProperty #34625

Merged
merged 10 commits into from
Jul 8, 2024
Next Next commit
added release note for CSSPropertyRule and registerProperty
  • Loading branch information
dletorey committed Jul 4, 2024
commit 0dd9657ef14e79dd54fb4e8bf925c872351b8ac0
2 changes: 2 additions & 0 deletions files/en-us/mozilla/firefox/releases/128/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ This article provides information about the changes in Firefox 128 that affect d

- [Relative color syntax](/en-US/docs/Web/CSS/CSS_colors/Relative_colors) is now enabled by default. Relative color syntax allows you to create a color value relative to an origin color, and can allow you to change a color in a different [color space](/en-US/docs/Glossary/Color_space) using [color functions](/en-US/docs/Web/CSS/CSS_colors#functions) ([Firefox bug 1900251](https://bugzil.la/1900251)).
- The [`content`](/en-US/docs/Web/CSS/content) property now supports [alternative text](/en-US/docs/Web/CSS/content#alternative_text) for content that includes an image. The alternative text is then exposed to the browsers accessibility tree. (See [Firefox bug 1281158](https://bugzil.la/1281158) and [Firefox bug 1896047](https://bugzil.la/1896047)).
- The [`CSSPropertyRule`](/en-US/docs/Web/API/CSSPropertyRule) is now supported. This allows you to get the values of a [CSS custom property](/en-US/docs/Web/CSS/--*) set in an [`@property`](/en-US/docs/Web/CSS/@property) at-rule, including [`name`](/en-US/docs/Web/API/CSSPropertyRule/name), [`syntax`](/en-US/docs/Web/API/CSSPropertyRule/syntax), [`inherits`](/en-US/docs/Web/API/CSSPropertyRule/inherits) and [`initialValue`](/en-US/docs/Web/API/CSSPropertyRule/initialvalue) ([Firefox bug 1864818](https://bugzil.la/1864818)).
- The [`registerProperty`](/en-US/docs/Web/API/CSS/registerProperty_static) is now supported. This allows you to define a [CSS custom property](/en-US/docs/Web/CSS/--*) via JavaScript ([Firefox bug 1864818](https://bugzil.la/1864818)).
dletorey marked this conversation as resolved.
Show resolved Hide resolved

#### Removals

Expand Down