📃 February 2024 release notes
Newly available
The following features are newly available:
-
Declarative shadow DOM:
The
shadowrootmode
attribute on<template>
creates a shadow root without the use of JavaScript. It is a declarative alternative to theattachShadow()
method.
Widely available
The following features are now widely available:
-
tab-size:
The
tab-size
CSS property sets the width of the tab character. -
Visual viewport API:
The
visualViewport
API provides a way to query and modify the user-visible viewport of a web page.
New in Chrome
The following features are now available in Chrome:
-
Read unsanitized clipboard data:
The optional
formats.unsanitized
parameter of thenavigator.clipboard.read()
method reads unsanitizedtext/html
data from the system clipboard. -
Iterator methods:
The
Iterator
object is an abstract base for objects that implement the iterator protocol. It provides methods common to built-in iterators, such asfilter()
,find()
,map()
, andreduce()
. You can also use the static methodIterator.from()
to convert an existing iterable into anIterator
. -
Set methods:
The
difference()
,intersection()
,isDisjointFrom()
,isSubsetOf()
,isSupersetOf()
,symmetricDifference()
, andunion()
methods of the JavaScriptSet
object performs operations between two sets. -
Storage buckets:
The
navigator.storageBuckets
API allows you to organize locally stored data into groups called storage buckets. Each bucket can have different settings, allowing the browser to manage and delete buckets independently rather than applying the same treatment to all.
New in Chrome Android
The following features are now available in Chrome Android:
-
Read unsanitized clipboard data:
The optional
formats.unsanitized
parameter of thenavigator.clipboard.read()
method reads unsanitizedtext/html
data from the system clipboard. -
Iterator methods:
The
Iterator
object is an abstract base for objects that implement the iterator protocol. It provides methods common to built-in iterators, such asfilter()
,find()
,map()
, andreduce()
. You can also use the static methodIterator.from()
to convert an existing iterable into anIterator
. -
Set methods:
The
difference()
,intersection()
,isDisjointFrom()
,isSubsetOf()
,isSupersetOf()
,symmetricDifference()
, andunion()
methods of the JavaScriptSet
object performs operations between two sets. -
Storage buckets:
The
navigator.storageBuckets
API allows you to organize locally stored data into groups called storage buckets. Each bucket can have different settings, allowing the browser to manage and delete buckets independently rather than applying the same treatment to all.
New in Edge
The following features are now available in Edge:
-
Read unsanitized clipboard data:
The optional
formats.unsanitized
parameter of thenavigator.clipboard.read()
method reads unsanitizedtext/html
data from the system clipboard. -
Iterator methods:
The
Iterator
object is an abstract base for objects that implement the iterator protocol. It provides methods common to built-in iterators, such asfilter()
,find()
,map()
, andreduce()
. You can also use the static methodIterator.from()
to convert an existing iterable into anIterator
. -
Set methods:
The
difference()
,intersection()
,isDisjointFrom()
,isSubsetOf()
,isSupersetOf()
,symmetricDifference()
, andunion()
methods of the JavaScriptSet
object performs operations between two sets. -
Storage buckets:
The
navigator.storageBuckets
API allows you to organize locally stored data into groups called storage buckets. Each bucket can have different settings, allowing the browser to manage and delete buckets independently rather than applying the same treatment to all.