diff --git a/files/en-us/mozilla/firefox/experimental_features/index.md b/files/en-us/mozilla/firefox/experimental_features/index.md index d59ba805fe1f302..d288e04ee6c7f77 100644 --- a/files/en-us/mozilla/firefox/experimental_features/index.md +++ b/files/en-us/mozilla/firefox/experimental_features/index.md @@ -1785,48 +1785,6 @@ The `GeometryUtils` method `getBoxQuads()` returns the CSS boxes for a {{domxref -#### CustomStateSet and the :state() pseudo-class: States for custom elements - -You can now define custom states for custom elements and match them using CSS. -Custom states are represented as custom identifiers that can be added to, or removed from, the element's {{domxref("ElementInternals.states")}} property (a {{domxref("CustomStateSet")}}). The CSS [`:state()`](/en-US/docs/Web/CSS/:state) pseudo-class takes a custom identifier as an argument and matches the custom elements if the identifier is present in their set of states. -(See [Firefox bug 1861466](https://bugzil.la/1861466) and [Firefox bug 1866351](https://bugzil.la/1866351) for more details.) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Release channelVersion addedEnabled by default?
Nightly121No
Developer Edition121No
Beta121No
Release121No
Preference namedom.element.customstateset.enabled
- ### Payment Request API #### Primary payment handling diff --git a/files/en-us/mozilla/firefox/releases/126/index.md b/files/en-us/mozilla/firefox/releases/126/index.md index 0a63c3543d71980..d75065402ffcbf6 100644 --- a/files/en-us/mozilla/firefox/releases/126/index.md +++ b/files/en-us/mozilla/firefox/releases/126/index.md @@ -40,6 +40,9 @@ This article provides information about the changes in Firefox 126 that affect d #### DOM +- The ability to define states for custom elements and match them using CSS selectors is now available by default. + The custom states are represented as custom identifiers that can be added to or removed from the element's {{domxref("ElementInternals.states")}} property (a {{domxref("CustomStateSet")}}). The CSS [`:state()`](/en-US/docs/Web/CSS/:state) pseudo-class takes a custom identifier as an argument and matches custom elements if the identifier is present in their set of states. ([Firefox bug 1887543](https://bugzil.la/1887543)). + #### Media, WebRTC, and Web Audio #### Removals