From ad40e26d0c73635f7803d88ec29caffd9c873697 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Tue, 9 Dec 2025 09:58:50 +0100 Subject: [PATCH 1/8] fix: bugzilla ID mismatch (#42314) --- files/en-us/mozilla/firefox/experimental_features/index.md | 2 +- files/en-us/mozilla/firefox/releases/146/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/mozilla/firefox/experimental_features/index.md b/files/en-us/mozilla/firefox/experimental_features/index.md index a0218cf771cec7c..67698ac6782d628 100644 --- a/files/en-us/mozilla/firefox/experimental_features/index.md +++ b/files/en-us/mozilla/firefox/experimental_features/index.md @@ -366,7 +366,7 @@ The CSS `text-decoration-trim` property allows you to specify {{cssxref("text-de ### `@custom-media` at-rule -The [`@custom-media`](/en-US/docs/Web/CSS/Reference/At-rules/@custom-media) CSS at-rule defines aliases for long or complex media queries. Instead of repeating the same hardcoded `` in multiple `@media` at-rules, it can be defined once in a `@custom-media` at-rule and referenced throughout the stylesheet whenever needed. ([Firefox bug 1991105](https://bugzil.la/1744292)). +The [`@custom-media`](/en-US/docs/Web/CSS/Reference/At-rules/@custom-media) CSS at-rule defines aliases for long or complex media queries. Instead of repeating the same hardcoded `` in multiple `@media` at-rules, it can be defined once in a `@custom-media` at-rule and referenced throughout the stylesheet whenever needed. ([Firefox bug 1744292](https://bugzil.la/1744292)). | Release channel | Version added | Enabled by default? | | ----------------- | ------------- | ------------------- | diff --git a/files/en-us/mozilla/firefox/releases/146/index.md b/files/en-us/mozilla/firefox/releases/146/index.md index 68313c5f2caf871..2828aec2d844ed9 100644 --- a/files/en-us/mozilla/firefox/releases/146/index.md +++ b/files/en-us/mozilla/firefox/releases/146/index.md @@ -138,4 +138,4 @@ You can find more such features on the [Experimental features](/en-US/docs/Mozil - **Custom media queries**: `layout.css.custom-media.enabled` - The [`@custom-media`](/en-US/docs/Web/CSS/Reference/At-rules/@custom-media) CSS at-rule defines aliases for long or complex media queries. Instead of repeating the same hardcoded `` in multiple `@media` at-rules, it can be defined once in a `@custom-media` at-rule and referenced throughout the stylesheet whenever needed. ([Firefox bug 1991105](https://bugzil.la/1744292)). + The [`@custom-media`](/en-US/docs/Web/CSS/Reference/At-rules/@custom-media) CSS at-rule defines aliases for long or complex media queries. Instead of repeating the same hardcoded `` in multiple `@media` at-rules, it can be defined once in a `@custom-media` at-rule and referenced throughout the stylesheet whenever needed. ([Firefox bug 1744292](https://bugzil.la/1744292)). From cbf088f70d4a20e83dbc2476167ca7681a38edf6 Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Tue, 9 Dec 2025 09:27:05 +0000 Subject: [PATCH 2/8] Add rel note for Firefox 147 view transition types support (#42292) * Add rel note for Firefox 147 view transition types support * Update files/en-us/mozilla/firefox/releases/147/index.md Co-authored-by: Brian Smith --------- Co-authored-by: Brian Smith --- files/en-us/mozilla/firefox/releases/147/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/en-us/mozilla/firefox/releases/147/index.md b/files/en-us/mozilla/firefox/releases/147/index.md index ebab682c04fb8df..01ffa7afeeffbb8 100644 --- a/files/en-us/mozilla/firefox/releases/147/index.md +++ b/files/en-us/mozilla/firefox/releases/147/index.md @@ -36,6 +36,8 @@ Firefox 147 is the current [Nightly version of Firefox](https://www.firefox.com/ - The `-webkit-` prefixed version of the {{cssxref("perspective")}} property is now supported with unitless values — for example `-webkit-perspective: 800` — for increased compatibility. ([Firefox bug 1362499](https://bugzil.la/1362499)). +- [View transition types](/en-US/docs/Web/API/View_Transition_API/Using_types) are now supported, which provide a mechanism by which different **types** can be specified for active view transitions. CSS can then be used to apply animations to DOM elements when their content updates, depending on the transition type specified. Firefox 147 adds support for single-page app (SPA) view transition types only, not cross-document view transition types. + ([Firefox bug 2001878](https://bugzil.la/2001878)). From 28e834cdc972a940d80a370f2fa15263a44c944b Mon Sep 17 00:00:00 2001 From: Nicolas Chevobbe Date: Tue, 9 Dec 2025 10:31:49 +0100 Subject: [PATCH 3/8] Improve contrast on selectors/_colon_scope demo (#42313) The demo was using a `plum`/`darkmagenta` color/background for links, which has an inaccessible contrast of 4.11:1. This patch swaps `darkmagenta` for `indigo`, which gives us a contrast of 6.26:1 (AA) --- files/en-us/web/css/reference/selectors/_colon_scope/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/css/reference/selectors/_colon_scope/index.md b/files/en-us/web/css/reference/selectors/_colon_scope/index.md index 55be13648d07b26..3abd74787bb627b 100644 --- a/files/en-us/web/css/reference/selectors/_colon_scope/index.md +++ b/files/en-us/web/css/reference/selectors/_colon_scope/index.md @@ -84,13 +84,13 @@ div { } a { - color: darkmagenta; + color: indigo; } } @scope (.dark-scheme) { :scope { - background-color: darkmagenta; + background-color: indigo; color: antiquewhite; } From 055bf71b1941f23bfcef39ab5b3393f9601b82b6 Mon Sep 17 00:00:00 2001 From: lionel-rowe Date: Tue, 9 Dec 2025 19:31:40 +0800 Subject: [PATCH 4/8] Clarify JavaScript MIME type parameter handling in script type (#42307) * Clarify JavaScript MIME type parameter handling in script type Updated the explanation regarding the use of parameters in the JavaScript MIME type, given that `module` and `importmap` now exist. * Update files/en-us/web/http/guides/mime_types/index.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Brian Smith --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Smith --- files/en-us/web/http/guides/mime_types/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/en-us/web/http/guides/mime_types/index.md b/files/en-us/web/http/guides/mime_types/index.md index 9715883f3720506..933b9e66119a399 100644 --- a/files/en-us/web/http/guides/mime_types/index.md +++ b/files/en-us/web/http/guides/mime_types/index.md @@ -149,9 +149,9 @@ All HTML content should be served with this type. Alternative MIME types for XHT JavaScript content should always be served with the MIME type `text/javascript`. For historic reasons, browsers may support some [legacy JavaScript types](#legacy_javascript_mime_types) listed below, but you should not assume scripts served with any MIME type other than `text/javascript` will always load or run. -Note that in HTML the [`type`](/en-US/docs/Web/HTML/Reference/Elements/script/type) attribute for {{htmlelement("script")}} elements may only contain the **JavaScript MIME type essence**: `text/javascript`. -Including any parameter, such as `charset=utf-8`, is the same as setting the `type` to any other MIME type: the script content is treated as a data block and is not executed as JavaScript. -(Note that setting the `type` to a JavaScript MIME type is a deprecated feature itself: you should omit the `type` in this case.) +Note that in HTML the [`type`](/en-US/docs/Web/HTML/Reference/Elements/script/type) attribute for {{htmlelement("script")}} elements may only contain the **JavaScript MIME type essence**: `text/javascript` or one of the keywords `module` (for ES modules) or `importmap`. +Including any parameter in the `type` attribute, such as `charset=utf-8`, is the same as setting the `type` to [an unrecognized value](/en-US/docs/Web/HTML/Reference/Elements/script/type#any_other_value): the script content is treated as a data block and is not executed as JavaScript. +Note that setting `type="text/javascript"` is no longer necessary; this is the default for `