Back to Content

Firefox 89 release notes for developers

files/en-us/mozilla/firefox/releases/89/index.md

latest4.4 KB
Original Source

This article provides information about the changes in Firefox 89 that will affect developers. Firefox 89 was released on June 1, 2021.

[!NOTE] See also Looking fine with Firefox 89 on Mozilla Hacks.

Changes for web developers

HTML

No changes.

CSS

  • The {{cssxref("@media/forced-colors","forced-colors")}} media feature has been implemented (Firefox bug 1659511).
  • The {{cssxref("@font-face/ascent-override", "ascent-override")}}, {{cssxref("@font-face/descent-override", "descent-override")}}, and {{cssxref("@font-face/line-gap-override", "line-gap-override")}} @font-face descriptors have been implemented (Firefox bug 1681691 and Firefox bug 1704494).
  • The type() function for {{cssxref("image/image-set")}} has been implemented (Firefox bug 1695404).
  • The {{cssxref("aspect-ratio")}} CSS property is now supported (Firefox bug 1672073).

JavaScript

HTTP

No changes.

APIs

DOM

  • {{domxref("PerformanceEventTiming")}} is now enabled by default (Firefox bug 1701029).
  • The content of {{htmlelement("input")}} and {{htmlelement("textarea")}} elements can now be manipulated using {{domxref("Document.execCommand()")}} commands by default, preserving edit history and providing parity with other browsers, without contentEditable or any lengthy workarounds required (Firefox bug 1220696).

Removals

  • The following sensor events and their associated handlers have been removed (primarily for better compatibility with other major browser engines, and to address concerns related to privacy leaks):

WebDriver conformance (Marionette)

Removals

  • The rotatable capability that is not part of the WebDriver specification is no longer used (Firefox bug 1697630).

Changes for add-on developers