files/en-us/mozilla/firefox/releases/97/index.md
This article provides information about the changes in Firefox 97 that affect developers. Firefox 97 was released on February 8, 2022.
No notable changes
The CSS units cap and ic are now supported for use with {{cssxref("<length>")}} and {{cssxref("<length-percentage>")}} data types.
For more information, see Firefox bug 1702924 and Firefox bug 1531223.
The CSS property color-adjust has been renamed to {{cssxref("print-color-adjust")}} to match the relevant specification.
The color-adjust shorthand name is deprecated.
See Firefox bug 747595 for details.
CSS cascade layers are now available by default. The @layer rule declares a cascade layer, which allows declaration of styles and can be imported via the @import rule using the layer() function. See Firefox bug 1699217 for more details.
The global CSS keyword {{cssxref("revert-layer")}} has been added to allow rolling back of property values in one cascade layer to the matching rules in the previous cascade layer. This keyword can be applied on any property, including the CSS shorthand property {{cssxref("all")}}. For more information, see Firefox bug 1699220.
The CSS scrollbar-gutter property is now supported. This gives developers control over reserved space for the scrollbar, preventing unwanted layout changes as the content grows.
See Firefox bug 1715112 for more details.
No notable changes
none. (See Firefox bug 1744599 for details.)SVGPathSeg APIs are now disabled by default behind a preference, and are expected to be removed in future revisions.
This includes: SVGPathSegList, SVGPathElement.getPathSegAtLength(), SVGAnimatedPathData.
(See Firefox bug 1388931 for more details.)AnimationFrameProvider is now available in a DedicatedWorkerGlobalScope. This means the requestAnimationFrame and cancelAnimationFrame methods can be used within a dedicated worker.
(See Firefox bug 1388931 for more details.)Marionette:Quit accepts a new boolean parameter, safeMode, to restart Firefox in safe mode (Firefox bug 1144075).WebDriver:NewSession and WebDriver:NewWindow when waiting for the current or initial document to be loaded (Firefox bug 1739369, Firefox bug 1747359).cookieStoreId in {{WebExtAPIRef("tabs.query")}} supports an array of strings. This enables queries to match tabs against more than one cookie store ID (Firefox bug 1730931).cookieStoreId added to {{WebExtAPIRef("contentScripts.register")}}. This enables extensions to register container-specific content scripts (Firefox bug 1470651).