March 2024 web platform update
Now widely available on the web platform
Widely available
-
aspect-ratio: The
aspect-ratio
CSS property controls the width-to-height ratio of elements. For<img>
and<video>
elements, thewidth
andheight
attributes used together withheight: auto
control the aspect ratio while the image/video is loading. Learn more. -
BigInt64Array: The
BigInt64Array
andBigUint64Array
typed arrays represent 64-bit integers, signed and unsigned respectively. Learn more. -
Events: Events fire when significant things happen in the page, such as an image loading or a user clicking. You can use the
addEventListener()
method on objects that receive events (event targets), such as windows, documents, and elements, to set a function to be called when an event fires. Learn more. -
EXT_color_buffer_float WebGL extension: The
EXT_color_buffer_float
extension for WebGL 2.0 contexts adds color-renderable floating point formats torenderbufferStorage()
. Learn more. -
System font: The
font-family: system-ui
CSS declaration uses the operating system default font for text. Learn more. -
Logical properties: CSS logical properties control borders, size, margin, and padding with directions and dimensions relative to the writing mode. For example, in a left to right, top to bottom writing mode,
block-end
refers to the bottom. Also known as flow relative. Learn more. -
Referrer policy: The
Referrer-Policy
HTTP header andreferrerpolicy
HTML attributes control whether requests have theReferer
header and what information the header contains. Learn more. -
Web authentication: The web authentication API allows you to create public key-based credentials and use them for authentication, such as when signing in. Also known as WebAuthn. Learn more.
-
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. Learn more. -
WebGL2: The
WebGL2RenderingContext
API is the"webgl2"
rendering context for the<canvas>
element. It represents a space for drawing two- and three-dimensional graphics and animations. It corresponds to OpenGL ES 3.0. Learn more.
Newly available on the web platform
Newly available
-
AbortSignal.any(): The
AbortSignal.any()
static method combines an iterable of abort signals into a single signal, with the abort reason taken from the first signal to abort. Learn more. -
Array grouping: The
Object.groupBy()
andMap.groupBy()
static methods group values of arrays and iterables based on a function that returns a key for each value. Learn more. -
checkVisibility(): The
checkVisibility()
method checks if an element is potentially visible, with optional parameters for the kinds of visibility to check. For example, it checks whether the element has the styledisplay: none
, but can also check forvisibility: hidden
. Learn more. -
Promise.withResolvers(): The
Promise.withResolvers()
static method is an alternative to thePromise()
constructor that returns both the promise and resolution functions. You can use this to accessresolve
andreject
outside the scope of the executor function. Learn more. -
text-wrap: The
text-wrap
CSS property sets how lines break in text that overflows the container. It is a shorthand fortext-wrap-style
andtext-wrap-mode
. Learn more. -
text-wrap: nowrap: The
text-wrap: nowrap
CSS declaration prevents text breaking into multiple lines. Text that doesn't fit overflows instead. Learn more. -
Transferable ArrayBuffer: The
transfer()
andtransferToFixedLength()
methods ofArrayBuffer
move a buffer from one context to another (for example, to a worker). Learn more. -
Extended constant expressions (WebAssembly): The
i32.add
,i32.sub
,i32.mul
,i64.add
,i64.sub
, andi64.mul
operations extend constant expressions to include arithmetic. Learn more. -
white-space-collapse: The
white-space-collapse
CSS property sets whether new line characters are shown as line breaks, and whether multiple consecutive spaces are all displayed or combined. Learn more.