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. -
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.
-
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: 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. -
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.