Firefox 159 release notes for developers (Beta)

This article provides information about the changes in Firefox 159 that affect developers. Firefox 159 is the current Beta version of Firefox and ships on October 27, 2026.

Note: The release notes for this Firefox version are still a work in progress.

Changes for web developers

CSS

Removals

  • The legacy masonry layout syntax has been removed: the masonry value of the grid-template-columns and grid-template-rows properties, and the masonry-auto-flow property. This syntax was only enabled by default in Nightly, behind the layout.css.grid-template-masonry-value.enabled preference. It's superseded by grid lanes layout, which uses the grid-lanes and inline-grid-lanes values of the display property. (Firefox bug 2077170).

APIs

  • Methods that sanitize HTML with the HTML Sanitizer API, such as Element.setHTML(), now remove unwanted elements and attributes as the markup is parsed, instead of parsing all of the markup first and then cleaning up resulting DOM tree afterwards. The result is the same, except that neighboring text now lands in a single text node instead of being split across several. (Firefox bug 2070498).

DOM

Changes for add-on developers

Experimental web features

These features are shipping in Firefox 159 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.