Firefox 66 for developers
- UTF-8-encoded HTML (and plain text) files loaded from
file:URLs are now supported without
<meta charset="utf-8">or the UTF-8 BOM, making it easier to work on such files locally before uploading them to a server. You still need to make sure that the server sends
Content-TypeHTTP header for such files, otherwise the detection mechanism used for local files would break incremental loading in the network case (bug 1071816).
- Scroll anchoring has been implemented in Firefox Desktop (but not mobile yet), which includes the
overflow-anchor(en-US) property (bug 1305957).
- We've implemented the case-sensitive attribute selector modifier,
- Several logical property shorthands have landed, along with the flow-relative border radius properties:
padding-inline(en-US) (bug 1519847).
margin-inline(en-US) (bug 1519944).
inset-inline(en-US) (bug 1520229).
border-inline-width(en-US) (bug 1520236).
border-inline(en-US) (bug 1520396).
border-end-end-radius(en-US) (bug 1520684).
- We implemented the
overflow-block(en-US) media queries (bug 1422235).
grid-template-rows(en-US) are now animatable, as per the rules set out in their specs (bug 1348519).
- We now support
calc(en-US) with percentages for table cells and column widths (bug 957915).
max-contentkeywords are now available unprefixed (bug 1322780). These can be set on:
- Autoplaying audio will be blocked by default soon after 66 becomes the release version of Firefox (bug 1487844, see bug 1535667 for rollout details). The feature will be rolled out gradually to users until everyone has it.
HTMLSlotElement.assignedElements()(en-US) method has been implemented (bug 1425685).
TextEncoder.encodeInto()(en-US) method has been implemented (bug 1514664).
InputEvent.inputType(en-US) property has been implemented (bug 1447239).
Event.returnValue(en-US) properties — originally proprietary IE features, then also supported across other browsers for compatibility purposes — have been re-introduced in Firefox 66, after first being added in versions 63 and 64 respectively but then removed again due to compatibility issues.
- From 66 onwards, when the
KeyboardEvent.keyCodeproperty of the
keypress (en-US)event object is 0, the value will be the same as
KeyboardEvent.charCode. Conversely, when
charCodeis 0, it will be the same as
Media, Web Audio, and WebRTC
getDisplayMedia()(en-US), available as
navigator.mediaDevices.getDisplayMedia(), has been added and synchronized with the specification. This method lets you capture a screen or part of a screen as a
MediaStream(en-US) for manipulation or sharing (bug 1321221).
- As a step toward eventually deprecating the Firefox-specific
getUserMedia()(en-US)-based method for capturing screen and window contents, the non-standard
mediaSourceconstraint now treats the values
windowidentically. Both now present a list of both screens and windows for the user to choose from (bug 1474376).
qpSum(en-US) has been added to local outbound
RTCRTPStreamStats(en-US) objects. This measures the total of the Quantization Parameter values for every frame sent or received on the video track. The higher this number, the more compressed the stream probably is (bug 1347070).
- In a step along the road toward implementing support for Feature Policy in a future Firefox update,
getUserMedia()(en-US) can no longer be used in situations in which there is no proper origin for the content, such as when called from a sandboxed
<iframe>or from a
dataURL entered into the address bar by the user. For more specifics and details, see Security in MediaDevices.getUserMedia() (bug 1371741).
- Firefox 65 for developers (en-US)
- Firefox 64 for developers
- Firefox 63 for developers (en-US)
- Firefox 62 for developers (en-US)
- Firefox 61 for developers (en-US)
- Firefox 60 for developers (en-US)
- Firefox 59 for developers
- Firefox 58 for developers (en-US)
- Firefox 57 for developers (en-US)
- Firefox 56 for developers (en-US)
- Firefox 55 for developers (en-US)
- Firefox 54 for developers (en-US)
- Firefox 53 for developers (en-US)
- Firefox 52 for developers (en-US)
- Firefox 51 for developers (en-US)
- Firefox 50 for developers (en-US)
- Firefox 49 for developers (en-US)
- Firefox 48 for developers (en-US)
- Firefox 47 for developers (en-US)
- Firefox 46 for developers (en-US)
- Firefox 45 for developers (en-US)
- Firefox 44 for developers (en-US)
- Firefox 43 for developers (en-US)
- Firefox 42 for developers
- Firefox 41 for developers (en-US)
- Firefox 40 for developers
- Firefox 39 for developers (en-US)
- Firefox 38 for developers (en-US)
- Firefox 37 for developers (en-US)
- Firefox 36 for developers (en-US)
- Firefox 35 for developers (en-US)