files/en-us/mozilla/firefox/releases/118/index.md
This article provides information about the changes in Firefox 118 that affect developers. Firefox 118 was released on September 26, 2023.
<search> element is a group element that serves to contain all the elements used in a search or filtering operation (Firefox bug 1824121).position value for {{cssxref("font-synthesis")}} shorthand property are now supported. These allow subscript and superscript typefaces to be disabled for fonts that do not have glyphs for them when using {{cssxref("font-variant-position")}} (Firefox bug 1849010).abs(), sign(), round(), mod(), rem(), pow(), sqrt(), hypot(), log(), and exp() (Firefox bug 1814589).from-font in the CSS property font-size-adjust enables picking the desired <font-metric> from the first available font (Firefox bug 1708240).transform-box now supports the values content-box and stroke-box. For the reference box, the content-box value uses the content box and the stroke-box value uses the stroke bounding box that contains an SVG's shape (Firefox bug 1819464).font-size-adjust supports the keyword from-font that enables picking the desired <font-metric> from the first available font (Firefox bug 1708240).No notable changes.
Permissions-Policy header's publickey-credentials-get directive is now supported, which can be used to enable the Web Authentication API interface for retrieving public-key credentials in a cross-origin iframe (Firefox bug 1460986).<semantics> and <maction> elements only render the first child element by default now. The mathml.legacy_maction_and_semantics_implementations.disabled preference has been removed (Firefox bug 1788223).mathvariant attribute other than normal are now deprecated. Additionally, the attribute's use is now limited to the <mi> element (Firefox bug 1845461)."Meta" for KeyboardEvent.key, instead of "OS", and KeyboardEvent.code returns MetaLeft/MetaRight instead of OSLeft/OSRight (Firefox bug 1232918)."stopped" value for indicating whether a transceiver has stopped. This value should now be used instead of the deprecated {{domxref("RTCRtpTransceiver.stopped")}} property (Firefox bug 1568296).TextMetrics.emHeightDescent and TextMetrics.emHeightAscent properties are now supported (Firefox bug 1841692).WebDriver:PerformActions command in Marionette and the browsingContext.performActions command in WebDriver BiDi failed to correctly scroll for a wheel input source in environments that have a high-resolution display connected (Firefox bug 1849229).browsingContext.activate command that allows users to bring the given background tab into foreground (Firefox bug 1841004).browsingContext.handleUserPrompt command that allows users to accept or dismiss an open user prompt of type alert, confirm, or prompt (Firefox bug 1824197).browsingContext.userPromptOpened event that is emitted when a user prompt of type alert, confirm, or prompt was opened (Firefox bug 1824224).type field to the JSON payload that is returned to clients for identifying event messages or the success state of a command, which can be either success or error (Firefox bug 1844009).browser_style in the manifest keys action, options_ui, page_action, and sidebar_action for Manifest V3 extensions has been removed (Firefox bug 1830711). See Browser Styles' Manifest v3 migration for information about transitioning from browser_style in Manifest V3 extensions.