CARVIEW |
Select Language
HTTP/2 200
content-type: text/html
x-guploader-uploadid: AAwnv3I3VWtXUXkDN1Oxb6ywDdgd_KutAg13pup590GGgAzW49PNk5vjTVx6_Gp3O9PNp2xl
cache-control: public, max-age=3600
expires: Thu, 09 Oct 2025 03:17:12 GMT
last-modified: Thu, 09 Oct 2025 01:04:31 GMT
etag: W/"af9fdba6cc14c9c9c4587a63783f18ae"
x-goog-generation: 1759971871104368
x-goog-metageneration: 1
x-goog-stored-content-encoding: identity
x-goog-stored-content-length: 147143
x-goog-meta-goog-reserved-file-mtime: 1759970363
x-goog-hash: crc32c=FeI5og==, md5=r5/bpswUycnEWHpjeD8Yrg==
x-goog-storage-class: STANDARD
accept-ranges: none
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
alt-svc: clear
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
strict-transport-security: max-age=63072000
content-security-policy: default-src 'self'; script-src 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://www.googletagmanager.com/gtag/js assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; script-src-elem 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://www.googletagmanager.com/gtag/js assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; style-src 'report-sample' 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self'; connect-src 'self' developer.allizom.org bcd.developer.allizom.org bcd.developer.mozilla.org updates.developer.allizom.org updates.developer.mozilla.org https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com https://incoming.telemetry.mozilla.org https://observatory-api.mdn.allizom.net https://observatory-api.mdn.mozilla.net https://api.github.com/search/issues stats.g.doubleclick.net https://api.stripe.com; font-src 'self'; frame-src 'self' interactive-examples.mdn.mozilla.net interactive-examples.mdn.allizom.net mdn.github.io live-samples.mdn.mozilla.net live-samples.mdn.allizom.net *.mdnplay.dev *.mdnyalp.dev *.play.test.mdn.allizom.net https://v2.scrimba.com https://scrimba.com jsfiddle.net www.youtube-nocookie.com codepen.io survey.alchemer.com https://js.stripe.com; img-src 'self' data: *.githubusercontent.com *.googleusercontent.com *.gravatar.com mozillausercontent.com firefoxusercontent.com profile.stage.mozaws.net profile.accounts.firefox.com developer.mozilla.org mdn.dev interactive-examples.mdn.mozilla.net interactive-examples.mdn.allizom.net wikipedia.org upload.wikimedia.org https://mdn.github.io/shared-assets/ https://mdn.dev/ https://*.google-analytics.com https://*.googletagmanager.com www.gstatic.com; manifest-src 'self'; media-src 'self' archive.org videos.cdn.mozilla.net https://mdn.github.io/shared-assets/; child-src 'self'; worker-src 'self';
x-frame-options: DENY
origin-trial: AxVILwizhbMjxFeHOn1P3R8niO1RJY/smaK4B4d1rLzc1gTaxtXMSaTi+FoigYgCw40uFRDwFcEAeqDR+vVLOW4AAABfeyJvcmlnaW4iOiJodHRwczovL2RldmVsb3Blci5tb3ppbGxhLm9yZyIsImZlYXR1cmUiOiJQcml2YXRlQXR0cmlidXRpb25WMiIsImV4cGlyeSI6MTc0MjA3OTYwMH0=
x-cloud-trace-context: f305143efdfb1f4c3fa9e38bf28dad03
date: Thu, 09 Oct 2025 02:17:12 GMT
server: Google Frontend
via: 1.1 google
vary: Accept-Encoding
content-encoding: gzip
x-cache: miss
Firefox 108 for developers - Mozilla | MDN
Toggle sidebar
Firefox 108 for developers
This article provides information about the changes in Firefox 108 that will affect developers. Firefox 108 was released on December 13, 2022.
Changes for web developers
>HTML
- The
<source>
element supportsheight
&width
attributes when it is a child of a<picture>
element. This functionality can be configured via thedom.picture_source_dimension_attributes.enabled
preference which is now set totrue
by default (Firefox bug 1795953).
CSS
- Trigonometric functions are now enabled with the
layout.css.trig.enabled
preference set totrue
by default. This allows the use ofsin()
,cos()
,tan()
,asin()
,acos()
,atan()
, andatan2()
functions (Firefox bug 1774589, Firefox bug 1787070). - CSS
<calc-constant>
type is implemented to allow for well-known constants such aspi
ande
within math functions (Firefox bug 1682444, Firefox bug 1787070). - Container query length units are now supported via the
layout.css.container-queries.enabled
preference, which is set tofalse
by default. Setting this preference totrue
allows the use ofcqw
,cqh
,cqi
,cqb
,cqmin
, andcqmax
units of length which are relative to the size of a query container. For more information on these units, see the CSS Container Queries documentation (Firefox bug 1744231). - The
font-variant-emoji
property is now supported via thelayout.css.font-variant-emoji.enabled
preference, which is set tofalse
by default. This property allows you to set a default presentation style for displaying emojis (Firefox bug 1461589).
JavaScript
No notable changes
HTTP
Content-Security-Policy
HTTP header directivesstyle-src-elem
andstyle-src-attr
are now supported. A server can use these to specify valid sources for stylesheet<style>
elements and<link>
elements withrel="stylesheet"
, and for styles applied to individual elements, respectively (Firefox bug 1529338).Content-Security-Policy
HTTP header directivesscript-src-elem
andscript-src-attr
are now supported. A server can use these to specify valid sources for JavaScript<script>
elements, and for inline script event handlers likeonclick
, respectively (Firefox bug 1529337).Content-Security-Policy
violation reports now includeeffective-directive
andstatus-code
properties. For more information, see Violation report syntax (Firefox bug 1192684).
APIs
- Import maps are now supported. Import maps provide flexibility and additional control over how browsers resolve module specifiers when importing JavaScript modules. (Firefox bug 1795647).
Media, WebRTC, and Web Audio
- The Web MIDI API is now available in secure contexts.
Calls to
navigator.requestMIDIAccess()
will prompt users with active MIDI devices to install a Site Permission Add-On, which is required to enable the API. For more information see Firefox bug 1795025.
WebDriver conformance (WebDriver BiDi, Marionette)
WebDriver BiDi
- Following a change in the specification, log entry level
"warning"
was renamed to"warn"
(Firefox bug 1797115). - When using
script.evaluate
andscript.callFunction
with a sandbox name equal to an empty string, the evaluation will now be done using the default realm (Firefox bug 1793589). - Added support for the
browsingContext.domContentLoaded
event (Firefox bug 1756610).
Marionette
- Added support for the
tiltX
,tiltY
andtwist
properties of pointer actions forWebDriver:PerformActions
(Firefox bug 1793832). - Fixed a bug where
WebDriver:GetElementText
wasn't returning the element text for pretty-printed XML (Firefox bug 1794099). HTMLDocument
is no longer serialized as aWebElement
reference (Firefox bug 1793920).WebDriver:NewWindow
now opens a window with anabout:blank
tab instead ofabout:newtab
(Firefox bug 1533058).
Changes for add-on developers
- Firefox now issues a warning when an extension is installed if its version number doesn't follow the recommended format (Firefox bug 1793925).