---
title: Firefox 60 for developers
slug: Mozilla/Firefox/Releases/60
translation_of: Mozilla/Firefox/Releases/60
---
{{FirefoxSidebar}}
{{draft}}
This article provides information about the changes in Firefox 60 that will affect developers. Firefox 60 is the current Nightly version of Firefox, and will ship on May 8, 2018.
Stylo comes to Firefox for Android in 60
Firefox's new parallel CSS engine — also known as Quantum CSS or Stylo, which was first enabled by default in Firefox 57 for desktop, has now been enabled in Firefox for Android.
Changes for web developers
- In the CSS Pane rules view (see Examine and edit CSS), the keyboard shortcuts for precise value increments (increase/decrease by 0.1) have changed from Alt + Up/Down to Ctrl + Up/Down on Linux and Windows, to avoid clashes with default OS-level shortcuts (see {{bug("1413314")}}).
- Also in the CSS Pane rules view, CSS variable names will now auto-complete ({{bug(1422635)}}). If you enter
var(
into a property value and then type a dash (-
), any variables you have declared in your CSS will then appear in an autocomplete list.
HTML
Pressing the Enter key in designMode
and contenteditable
now inserts <div>
elements when the caret is in an inline element or text node which is a child of a block level editing host — instead of inserting <br>
elements like it used to. If you want to use the old behavior on your app, you can do it with document.execCommand()
. See Differences in markup generation for more details.
CSS
- The {{cssxref("align-content")}}, {{cssxref("align-items")}}, {{cssxref("align-self")}}, {{cssxref("justify-content")}}, and {{cssxref("place-content")}} property values have been updated as per the latest CSS Box Alignment Module Level 3 spec ({{bug(1430817)}}).
- The {{cssxref("paint-order")}} property has been implemented ({{bug(1426146)}}).
SVG
No changes.
JavaScript
The {{jsxref("Array.prototype.values()")}} method has been added again ({{bug(1420101)}}). It was disabled due to compatibilty issues in earlier versions. Make sure your code doesn't have any custom implementation of this method.
APIs
New APIs
No changes.
DOM
- In the Web Authentication API, the
MakePublicKeyCredentialOptions
dictionary object has been renamed {{domxref("PublicKeyCredentialCreationOptions")}}; this change has been made in Firefox ({{bug(1436473)}}).
- The
dom.workers.enabled
pref has been removed, meaning workers can no longer be disabled ({{bug(1434934)}}).
- The {{domxref("Document.body","body")}} property is now implemented on the {{domxref("Document")}} interface, rather than the {{domxref("HTMLDocument")}} interface ({{bug(1276438)}}).
- {{domxref("PerformanceResourceTiming")}} is now available in workers ({{bug(1425458)}}).
- The {{domxref("PerformanceObserver.takeRecords()")}} method has been implemented ({{bug(1436692)}}).
- The {{domxref("KeyboardEvent.keyCode")}} attribute of punctuation key becomes non-zero even if active keyboard layout doesn't produce ASCII character. See the detail. Note that please do not use
KeyboardEvent.keyCode
in new applications. Please consider to use {{domxref("KeyboardEvent.key")}} or {{domxref("KeyboardEvent.code")}} instead.
- The {{domxref("Animation.updatePlaybackRate()")}} method has been implemented ({{bug("1436659")}}).
- New rules have been included for determining keyCode values of punctuation keys ({{bug(1036008)}}).
DOM events
No changes.
Service workers
No changes.
- When recording or sharing media obtained using {{domxref("MediaDevices.getUserMedia", "getUserMedia()")}}, muting the camera by setting the corresponding track's {{domxref("MediaStreamTrack.enabled")}} property to
false
now turns off the camera's "in use" indicator light, to help the user more easily see that the camera is not in use ({{bug(1299515)}}).
- Removing a track from an {{domxref("RTCPeerConnection")}} using {{domxref("RTCPeerConnection.removeTrack", "removeTrack()")}} no longer removes the track's {{domxref("RTCRtpSender")}} from the peer connection's list of senders as reported by {{domxref("RTCPeerConnection.getSenders", "getSenders()")}} ({{bug(1290949)}}).
- The {{domxref("RTCRtpContributingSource")}} and {{domxref("RTCRtpSynchronizationSource")}} objects' timestamps were previously being reported based on values returned by {{jsxref("Date.getTime()")}}. In Firefox 60, these have been fixed to correctly use the Performance Timing API instead ({{bug(1433576)}}).
Canvas and WebGL
No changes.
CSSOM
No changes.
HTTP
No changes.
Security
No changes.
Plugins
No changes.
Other
No changes.
HTML
No changes.
CSS
- The proprietary {{cssxref("-moz-user-input")}} property's
enabled
and disabled
values are no longer available ({{bug("1405087")}}).
- The proprietary {{cssxref("-moz-border-top-colors")}}, {{cssxref("-moz-border-right-colors")}}, {{cssxref("-moz-border-bottom-colors")}}, and {{cssxref("-moz-border-left-colors")}} properties have been removed from the platform completely ({{bug(1429723)}}).
JavaScript
The non-standard expression closure syntax has been removed ({{bug(1426519)}}).
APIs
No changes.
SVG
No changes.
Other
No changes.
Changes for add-on and Mozilla developers
WebExtensions
No changes.
See also
- Site compatibility for Firefox 60
Older versions
{{Firefox_for_developers(58)}}