📃 May 2025 release notes
Newly available
The following features are newly available:
-
print-color-adjust:
The
print-color-adjust
CSS property sets whether styles of printed pages should be adjusted to use less ink, in cases such as light text on a dark background. -
RegExp.escape():
The
RegExp.escape()
static method takes a string and replaces any characters that are potentially special characters of a regular expression with equivalent escape sequences. For example,RegExp.escape("[abc]")
returns"\\[abc\\]"
. -
dialog.requestClose():
The
requestClose()
method of a<dialog>
HTML element closes the dialog, firing acancel
event first, which listeners can use to prevent the dialog from closing. This differs from theclose()
method, which only fires the non-cancelableclose
event.
Widely available
The following features are now widely available:
-
font-palette:
The
font-palette
CSS property selects a color palette from the font, optionally overriding individual colors in the@font-palette-values
at-rule.
New in Chrome
The following features are now available in Chrome:
-
Selection composed ranges:
The
window.getSelection().getComposedRanges()
method returns ranges that represent the current user selection, even if the selection spans across shadow tree boundaries. -
reading-flow:
The
reading-flow
CSS property sets the order in which flex or grid elements are rendered to speech or reached via focus navigation.
New in Chrome Android
The following features are now available in Chrome Android:
-
Selection composed ranges:
The
window.getSelection().getComposedRanges()
method returns ranges that represent the current user selection, even if the selection spans across shadow tree boundaries. -
reading-flow:
The
reading-flow
CSS property sets the order in which flex or grid elements are rendered to speech or reached via focus navigation.
New in Edge
The following features are now available in Edge:
-
Selection composed ranges:
The
window.getSelection().getComposedRanges()
method returns ranges that represent the current user selection, even if the selection spans across shadow tree boundaries. -
reading-flow:
The
reading-flow
CSS property sets the order in which flex or grid elements are rendered to speech or reached via focus navigation.
New in Firefox
The following features are now available in Firefox:
-
hidden="until-found":
The
hidden="until-found"
attribute hides an element until it is found using the browser's find-in-page search or it is directly navigated to by following a URL fragment. -
Temporal:
The
Temporal
API allows you to work with dates, times, time zones, and durations. It is more powerful than theDate
API.
New in Firefox for Android
The following features are now available in Firefox for Android:
-
hidden="until-found":
The
hidden="until-found"
attribute hides an element until it is found using the browser's find-in-page search or it is directly navigated to by following a URL fragment. -
Temporal:
The
Temporal
API allows you to work with dates, times, time zones, and durations. It is more powerful than theDate
API.