From 74cd14df3784fef399952a1f48c5f7882d9cdf23 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Mon, 18 Dec 2023 18:56:41 +0100 Subject: [PATCH 001/790] Add experimental features section to Fx 121 (#31122) --- files/en-us/mozilla/firefox/releases/121/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/files/en-us/mozilla/firefox/releases/121/index.md b/files/en-us/mozilla/firefox/releases/121/index.md index c95473014de408e..1b8477012d2e2d6 100644 --- a/files/en-us/mozilla/firefox/releases/121/index.md +++ b/files/en-us/mozilla/firefox/releases/121/index.md @@ -105,6 +105,15 @@ This article provides information about the changes in Firefox 121 that affect d - Added support for serializing and deserializing `Window` and `Frame` objects ([Firefox bug 1274251](https://bugzil.la/1274251)). +## Experimental web features + +These features are newly shipped in Firefox 121 but are disabled by default. To experiment with them, search for the appropriate preference on the `about:config` page and set it to `true`. You can find more such features on the [Experimental features](/en-US/docs/Mozilla/Firefox/Experimental_features) page. + +- Custom element state pseudo-class: `dom.element.customstateset.enabled` + - : Custom elements can expose their internal state via the {{domxref("ElementInternals.states","states")}} property as a {{domxref("CustomStateSet")}}. A CSS custom state pseudo-class such as `:--somestate` can match that element's state. ([Firefox bug 1861466](https://bugzil.la/1861466)) +- `showPicker()` method for HTML select elements: `dom.select.showPicker.enabled` + - : The {{domxref("HTMLSelectElement.showPicker()")}} method programmatically launches the browser picker for a {{HTMLElement("select")}} element, triggered by user interaction. ([Firefox bug 1854112](https://bugzil.la/1854112)) + ## Changes for add-on developers ### Removals From 948ade920e17ec0b9351e2d1983ec6fec79d87d2 Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Mon, 18 Dec 2023 20:02:49 +0100 Subject: [PATCH 002/790] docs(css): add module page for CSS Properties and Values API (#30503) * docs(css): add module page for CSS Properties and Values API * link to guides and module pages * docs(css): remove unnecessary string identifier * docs(css): fix flaws in module pages * docs(css): check-in changes, remove unnecessary styles * docs(css): changes following reviewer feedback, conform to existing doc conventions for module pages * Apply suggestions from code review Co-authored-by: Estelle Weyl * docs(css): changes following reviewer feedback, make hidden examples a single block * docs(css): changes following reviewer feedback * docs(css): changes following reviewer feedback * Update files/en-us/web/css/css_cascading_variables/index.md Co-authored-by: Estelle Weyl * docs(css): changes following reviewer feedback * docs(css): changes following reviewer feedback * Apply suggestions from code review Co-authored-by: Estelle Weyl * Fix typos Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * docs(css): Move 'syntax strings' up into syntax DL * docs(css): Improvements following reviewer feedback * Update files/en-us/web/css/css_properties_and_values_api/index.md Co-authored-by: Estelle Weyl * Apply suggestions from code review Co-authored-by: Estelle Weyl * docs(css): Correct internal xrefs to use locale / root relative * docs(css): Improvements following reviewer feedback --------- Co-authored-by: Estelle Weyl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- files/en-us/web/api/css/index.md | 3 + files/en-us/web/css/--_star_/index.md | 3 +- files/en-us/web/css/@property/index.md | 17 ++- .../web/css/css_cascading_variables/index.md | 118 +++++++++++++++++- .../css_properties_and_values_api/index.md | 113 +++++++++++++++++ files/en-us/web/css/env/index.md | 4 +- .../css/using_css_custom_properties/index.md | 3 +- files/en-us/web/css/var/index.md | 3 +- 8 files changed, 253 insertions(+), 11 deletions(-) create mode 100644 files/en-us/web/css/css_properties_and_values_api/index.md diff --git a/files/en-us/web/api/css/index.md b/files/en-us/web/api/css/index.md index 205d9bdbf8c0219..df7709840d07498 100644 --- a/files/en-us/web/api/css/index.md +++ b/files/en-us/web/api/css/index.md @@ -3,6 +3,9 @@ title: CSS slug: Web/API/CSS page-type: web-api-interface browser-compat: api.CSS +spec-urls: + - https://drafts.csswg.org/cssom/#namespacedef-css + - https://www.w3.org/TR/css-properties-values-api-1/ --- {{APIRef("CSSOM")}} diff --git a/files/en-us/web/css/--_star_/index.md b/files/en-us/web/css/--_star_/index.md index b3c841459af4727..625784040e31154 100644 --- a/files/en-us/web/css/--_star_/index.md +++ b/files/en-us/web/css/--_star_/index.md @@ -86,6 +86,7 @@ Custom properties are scoped to the element(s) they are declared on, and partici ## See also -- [Using CSS variables](/en-US/docs/Web/CSS/Using_CSS_custom_properties) - The {{cssxref("var", "var()")}} function - {{cssxref("@property")}} at-rule +- [Using CSS custom properties (variables)](/en-US/docs/Web/CSS/Using_CSS_custom_properties) guide +- [CSS custom properties for cascading variables](/en-US/docs/Web/CSS/CSS_cascading_variables) module diff --git a/files/en-us/web/css/@property/index.md b/files/en-us/web/css/@property/index.md index 35346fd86a152b7..fda81dfe514f125 100644 --- a/files/en-us/web/css/@property/index.md +++ b/files/en-us/web/css/@property/index.md @@ -24,15 +24,21 @@ The `@property` rule represents a custom property registration directly in a sty ### Descriptors - {{cssxref("@property/syntax","syntax")}} - - : Describes the allowable syntax for the property. + + - : Describes the allowable syntax for the property. May be a ``, ``, ``, ``, ``, ``, ``, ``, ``, `