📃 September 2020 release notes
Newly available
The following features are newly available:
-
BigInt:
The
BigInt
JavaScript type represents integers of any size, including integers too large for the primitiveNumber
type. -
EXT_color_buffer_half_float WebGL extension:
The
EXT_color_buffer_half_float
extension for WebGL 1.0 and 2.0 contexts renders 16-bit floating-point color buffers. -
Intl.Locale:
The
Intl.Locale
API parses Unicode locale identifiers, with language, region, and script codes, such aszh-Hans-CN
oren-GB
. -
Intl.RelativeTimeFormat:
The
Intl.RelativeTimeFormat
API creates a locale-aware formatter that turns an object representing a relative time (such as '1 day ago') into a localized string. -
Logical assignments:
The logical AND assignment (
&&=
) and the logical OR assignment (||=
) operators short-circuit the respective binary logical operators. -
Nullish coalescing:
The nullish coalescing (
??
) and nullish coalescing assignment (??=
) operators return (or assign) its right-hand side operand when its left-hand side operand is null or undefined, and otherwise returns its left-hand side operand. -
Promise.any():
The
Promise.any()
static method returns a promise that fulfills as soon as the first of an iterable of promises fulfills, with that promise's value. Otherwise, it rejects with anAggregateError
when all of the promises have rejected. -
Scroll methods on elements:
The
scroll()
andscrollBy()
methods change the scroll position of overflow content within an element. Similar to settingscrollTop
andscrollLeft
properties, but with options setting whether the scroll should animate smoothly or jump. Note thatscrollTo()
is an alias forscroll()
. -
scrollIntoView():
The
scrollIntoView()
method scrolls an element's ancestor containers such that the element is visible to the user. -
steps() easing:
The
steps()
CSS easing function divides an animation or transition into equidistant intervals, jumping from value to value. Thestep-start
andstep-end
keyword values are presets with a single interval. -
text-orientation:
The
text-orientation
CSS property sets the how text is typeset within a line when the writing mode is vertical. -
WEBGL_debug_shaders WebGL extension:
The
WEBGL_debug_shaders
extension for WebGL 1.0 and 2.0 contexts adds thegetTranslatedShaderSource()
method to debug shaders from privileged contexts. - WebP: The WebP image format is a raster graphics file format that supports animation, alpha transparency, and lossy as well as lossless compression.
New in Firefox
The following features are now available in Firefox:
-
overflow:
The
overflow
CSS property sets the behavior for when content doesn't fit in an element.
New in Firefox for Android
The following features are now available in Firefox for Android:
-
overflow:
The
overflow
CSS property sets the behavior for when content doesn't fit in an element.
New in Safari
The following features are now available in Safari:
-
background-clip: text:
The
background-clip: text
CSS declaration draws the background underneath only the text in the element. -
:is():
The
:is()
CSS functional pseudo-class takes a selector list as its argument, and matches any element that can be selected by one of the selectors in that list. -
WEBGL_color_buffer_float WebGL extension:
The
WEBGL_color_buffer_float
extension for WebGL 1.0 contexts adds the 32-bit floating-point typeRGBA32F
as a color-renderable format. -
:where():
The
:where()
CSS functional pseudo-class takes a selector list as its argument, and matches any element that can be selected by one of the selectors in that list. It is functionally equivalent to the selectors in the list, but doesn't affect the CSS rule specificity.
New in Safari on iOS
The following features are now available in Safari on iOS:
-
background-clip: text:
The
background-clip: text
CSS declaration draws the background underneath only the text in the element. -
:is():
The
:is()
CSS functional pseudo-class takes a selector list as its argument, and matches any element that can be selected by one of the selectors in that list. -
:where():
The
:where()
CSS functional pseudo-class takes a selector list as its argument, and matches any element that can be selected by one of the selectors in that list. It is functionally equivalent to the selectors in the list, but doesn't affect the CSS rule specificity.