| title | Firefox 150 release notes for developers (Beta) |
|---|---|
| short-title | Firefox 150 (Beta) |
| slug | Mozilla/Firefox/Releases/150 |
| page-type | firefox-release-notes-active |
| sidebar | firefox |
This article provides information about the changes in Firefox 150 that affect developers. Firefox 150 is the current Beta version of Firefox and ships on April 21, 2026.
Note
The release notes for this Firefox version are still a work in progress.
- The
light-dark()CSS function now accepts<image>values. This allows using images, gradients, and so on for different color schemes. (Firefox bug 2023569).
- The {{domxref("Sanitizer.replaceElementWithChildren()")}} method will now return
falseif the element to be replaced is {{htmlelement("html")}} in the HTML namespace. In other words, you can't use this method to create a {{domxref("Sanitizer")}} that will replace the<html>element with its inner content. (Firefox bug 2022176).
-
The
options.shadowRootsargument of the {{domxref('Document.caretPositionFromPoint()')}} method is now supported. This allows the method to return the node containing the caret from within a shadow DOM, provided its associated {{domxref("ShadowRoot")}} was passed as an option. (Firefox bug 1914596). -
The non-standard {{domxref("Document/caretRangeFromPoint","caretRangeFromPoint()")}} method of the {{domxref("Document")}} interface is now supported. (Firefox bug 1550635).
-
The
ariaNotify()method is now supported on {{domxref("Document/ariaNotify","Document")}} and {{domxref("Element/ariaNotify","Element")}}. This queues a string of text to be announced by a {{glossary("screen reader")}}, providing a more ergonomic and reliable alternative to ARIA live regions. (Firefox bug 2018095).
- The behavior of {{WebExtAPIRef("tabs.move")}} is updated for split views so that:
- The order of tabs in a split view can be swapped. (Firefox bug 2016762)
- When the list of tabs includes both split view tabs and places one or more tabs between them, the tabs are moved apart and the split view closed. (Firefox bug 2022549)
These features are shipping in Firefox 150 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 page.
-
Scoped custom element registries:
dom.scoped-custom-element-registries.enabledThe {{domxref("CustomElementRegistry","customElementRegistry")}} property is supported on {{domxref("Document")}}, {{domxref("Element")}}, and {{domxref("ShadowRoot")}}. This allows the definition of scoped custom element registries. (Firefox bug 2018900).