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)
-
Small, large, and dynamic viewport units:
The
sv*
,lv*
, anddv*
CSS viewport units are relative to the smallest, largest, and current (dynamic) viewport size. They are used to size elements in relation to the viewport's dimensions. -
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.