Stay up-to-date with the web platform
Use the Web platform features explorer to discover new features and APIs and stay up-to-date with changes.
Newly available across browsers
-
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\\]"
. - Float16Array: Float16Array is a typed array of 16-bit floating point numbers.
-
Single color stop gradients:
A single color stop can be provided to the
linear-gradient()
,radial-gradient()
, andconic-gradient()
CSS functions, and their repeating counterparts, to create a solid color background. -
Atomics.pause():
The
Atomics.pause()
static method gives a hint to the CPU that the code calling the method is in a short-duration wait for shared memory, known as spinning or a spinlock. -
ClipboardItem.supports():
The
ClipboardItem.supports()
static method checks if the browser supports writing data types such as "image/svg+xml" or other custom formats to the system clipboard.
Now widely available across browsers
-
Inline-size containment:
The
contain: inline-size
CSS declaration prevents the element's inline dimension from being set by the element's contents. This permits the browser to avoid slower layout calculations. -
Array findLast() and findLastIndex():
The
findLast()
andfindLastIndex()
methods of arrays and typed arrays search an array in reverse order for the first item that satisfies a test function. -
Style containment:
The
contain: style
CSS declaration permits the browser to avoid slower layout calculations by preventing modification to counter (counter-increment
andcounter-set
) and quotation styles (content
property quote values) beyond the element's descendants. -
appearance:
The
appearance
CSS property controls the appearance of form controls. Usingappearance: none
disables any default native appearance and allows the elements to be styled with CSS. -
Array at():
The
at()
method of arrays and typed arrays returns the item at an index, including negative indices for getting items relative to the end of an array. Also known as the relative indexing method.