Firefox 161 release notes for developers

Screenshot of browser developer tools with the Inspector panel open on web-standards.dev, a large Firefox logo overlaid, and the text “Firefox 161”.

The CSS random() function now works, returning a value in a range with an optional step. The var(), attr(), and env() functions accept nested functions. Compression Dictionary Transport shrinks resources that barely change between versions, and CSS Typed OM lets scripts treat CSS values as objects. Plus custom clipboard formats. Behind flags: margin-trim, cross-document view transitions, and blocking="render".

developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/161