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 (RSS feed)
-
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. -
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\\]"
. -
JSON import attributes:
Module
import … with { type: "json" }
statements load JSON data. Also known as JSON module scripts. - Float16Array: Float16Array is a typed array of 16-bit floating point numbers.
Now widely available across browsers (RSS feed)
-
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.