Movatterモバイル変換


[0]ホーム

URL:


  1. Mozilla
  2. Firefox
  3. Release notes for developers
  4. Firefox 127

Firefox 127 release notes for developers

This article provides information about the changes in Firefox 127 that affect developers. Firefox 127 was released onJune 11, 2024.

Changes for web developers

HTML

CSS

JavaScript

SVG

  • Thelh andrlh line height units, first supported in CSSin Firefox 120, are now supported in SVG as well. They can be used both in CSS property valuesstroke-width: 0.5lh and SVG attributes valuesstroke-width="0.5lh". (Firefox bug 1892089).

Security

  • Firefox will now automatically upgrade requests for audio, video, and image subresources from HTTP to HTTPS in secure content, and block HTTP requests for other kinds of media. If an upgraded request fails because the media's host doesn't support HTTPS, the media is not found.This ensures that if content is served securely over HTTPS, then all its subresources are also served securely or not served at all.As pages no longer displaymixed content, Firefox has also removed the icon to indicate when a page contains mixed-content, and the mixed-content console warning has been replaced with one that indicates when requests are upgraded.(Firefox bug 1779757).

APIs

WebDriver conformance (WebDriver BiDi, Marionette)

General

  • Fixed support forwheel actions in both WebDriver classic and BiDi to correctly handle modifiers such asctrl,shift, etc. (Firefox bug 1885542).

WebDriver BiDi

  • Added thepermissions.setPermission command which allows to update browser permissions (such asgeolocation). The permissions module is an extension to the WebDriver BiDi specificationdefined in the Permissions specification (Firefox bug 1875065).
  • Added support for a11y attributesname androle as locators for thebrowsingContext.locateNodes command (Firefox bug 1885577).
  • Added support for thedevicePixelRatio argument tobrowsingContext.setViewport which allows to emulate the behavior of the screens with different device pixel ratio (Firefox bug 1857961).
  • ImprovedbrowsingContext.navigate to avoid race conditions leading to wait unnecessarily before resolving the command (Firefox bug 1894305).

Marionette

  • FixedWebDriver:ElementClear for elements located in a disabled fieldset (Firefox bug 1863266).
  • Fixed a bug whereWebDriver:GetElementText failed to correctly capitalize text containing an underscore (Firefox bug 1888004).
  • Fixed a bug inWebDriver:SwitchToFrame which could fail if the tab was in the middle of a navigation (Firefox bug 1817820).

Changes for add-on developers

Experimental web features

These features are newly shipped in Firefox 127 but are disabled by default. To experiment with them, search for the appropriate preference on theabout:config page and set it totrue. You can find more such features on theExperimental features page.

  • Symmetrical spacing with CSSletter-spacing:layout.css.letter-spacing.model.

    The CSSletter-spacing property now splits the specified letter spacing evenly on both sides of each character. This is unlike the current behavior where spacing is added primarily to one side (Firefox bug 1891446).

  • calc() color channel support in relative colors:layout.css.relative-color-syntax.enabled.

    The CSScalc() function can now parse color channels inrelative colors (Firefox bug 1889561).

  • JavaScriptFloat16Array typed array:javascript.options.experimental.float16array.

    Float16Array typed arrays are now supported, along withDataView.prototype.getFloat16() andDataView.prototype.setFloat16() for reading and settingFloat16Array values from aDataView, and theMath.f16round() static method that can be used to round numbers to 16 bits. The new type is useful for sharing data with a GPU, in particular for use cases where it makes sense to trade off precision for memory consumption. (Firefox bug 1833647.)

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp