Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions files/en-us/mozilla/firefox/releases/146/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ Firefox 146 is the current [Beta version of Firefox](https://www.firefox.com/en-

### CSS

- The {{cssxref("color_value/contrast-color()")}} [CSS function](/en-US/docs/Web/CSS/Reference/Values/Functions) is now supported. This function takes a {{cssxref("color_value","color")}} value and returns a contrasting color that ensures at least [WCAG AA minimum contrast](https://w3c.github.io/wcag/guidelines/22/#contrast-minimum).
- The {{cssxref("color_value/contrast-color()")}} function is now supported. This function takes a [`<color>`](/en-US/docs/Web/CSS/Reference/Values/color_value) value and returns a contrasting color that ensures at least [WCAG AA minimum contrast](https://w3c.github.io/wcag/guidelines/22/#contrast-minimum).
([Firefox bug 1682439](https://bugzil.la/1682439)).

- The {{cssxref("text-decoration-inset")}} property is now supported, which enables adjusting the start and end points of an element's {{cssxref("text-decoration")}} so it can be shortened, lengthened, or have its position shifted with respect to the rendered text.
- The [`<color>`](/en-US/docs/Web/CSS/Reference/Values/color_value) data type now supports the `display-p3-linear` color space. This space is similar to [`display-p3`](/en-US/docs/Glossary/Color_space#display-p3), except that it uses a linear-light transfer function and has no gamma-encoding, which allows for a higher precision in the colors displayed.
([Firefox bug 1996318](https://bugzil.la/1996318)).

- The [`text-decoration-inset`](/en-US/docs/Web/CSS/Reference/Properties/text-decoration-inset) property is now supported, which enables adjusting the start and end points of an element's {{cssxref("text-decoration")}} so it can be shortened, lengthened, or have its position shifted with respect to the rendered text.
([Firefox bug 1979915](https://bugzil.la/1979915), [Firefox bug 1997157](https://bugzil.la/1997157), [Firefox bug 1993043](https://bugzil.la/1993043)).

- The {{cssxref("@scope")}} [at-rule](/en-US/docs/Web/CSS/Guides/Syntax/At-rules) is now supported by default. This enables you to select elements in specific DOM subtrees, targeting elements precisely without writing overly-specific selectors that are hard to override, and without coupling your selectors too tightly to the DOM structure. ([Firefox bug 1991105](https://bugzil.la/1991105)).
Expand Down