diff --git a/files/en-us/mozilla/firefox/releases/155/index.md b/files/en-us/mozilla/firefox/releases/155/index.md index 95f0c040c7d1661..43f731df7bb79ac 100644 --- a/files/en-us/mozilla/firefox/releases/155/index.md +++ b/files/en-us/mozilla/firefox/releases/155/index.md @@ -45,6 +45,7 @@ No notable changes. This is the new name for the {{cssxref("font-stretch")}} property, which continues to work as a legacy alias. Note that computed style enumeration now returns `font-width` rather than `font-stretch`. ([Firefox bug 1911075](https://bugzil.la/1911075)). +- Support for the non-standard {{cssxref("::-webkit-scrollbar")}} pseudo-element, added in Firefox 153, is now limited to a small list of sites rather than applying to the whole web. The list is set in the `layout.css.fake-webkit-scrollbar.enabled-domains` preference and is matched against the domain of the document, so `@supports selector(::-webkit-scrollbar)` returns `false` on any site that isn't listed. This partially reverses the Firefox 153 change, which left sites with broken scrollbars because Firefox implements only `::-webkit-scrollbar` itself and none of the other `::-webkit-scrollbar-*` pseudo-elements. Use the standard {{cssxref("scrollbar-color")}} and {{cssxref("scrollbar-width")}} properties to style scrollbars in Firefox. ([Firefox bug 2061547](https://bugzil.la/2061547)). ### JavaScript diff --git a/files/en-us/mozilla/firefox/releases/156/index.md b/files/en-us/mozilla/firefox/releases/156/index.md index 7d9d5100f6077b2..bda4314feeaf798 100644 --- a/files/en-us/mozilla/firefox/releases/156/index.md +++ b/files/en-us/mozilla/firefox/releases/156/index.md @@ -32,7 +32,9 @@ Firefox 156 is the current [Beta version of Firefox](https://www.firefox.com/en- - +### CSS + +- The non-standard {{cssxref("::-webkit-scrollbar")}} pseudo-element is now reported as unsupported in {{cssxref("@supports")}} conditions on every site, so `@supports selector(::-webkit-scrollbar)` returns `false` and `@supports not (selector(::-webkit-scrollbar))` returns `true`. This includes the sites listed in the `layout.css.fake-webkit-scrollbar.enabled-domains` preference, which [Firefox 155](/en-US/docs/Mozilla/Firefox/Releases/155#css) limited the pseudo-element to, and where Firefox does still apply it. Sites use this check as a signal for the whole `::-webkit-scrollbar-*` family, of which Firefox implements only `::-webkit-scrollbar` itself, so those that guard their standard scrollbar styles behind `@supports not (selector(::-webkit-scrollbar))` now get those styles applied. ([Firefox bug 2062782](https://bugzil.la/2062782)).