📃 April 2019 release notes
New in Chrome
The following features are now available in Chrome:
- Background fetch: Background fetch downloads data in the background even when the web page is closed.
-
Hashbang comments:
The
#!
comment at the absolute start of a script or module is treated as a normal comment and is ignored by the JavaScript engine. -
Intersection observer visibility tracking:
The
trackVisibility
parameter for theIntersectionObserver
constructor enables tracking the visibility of an element, to detect if it may be obscured by other content or visual effects. Also known as IntersectionObserver v2. -
Intl.Locale:
The
Intl.Locale
API parses Unicode locale identifiers, with language, region, and script codes, such aszh-Hans-CN
oren-GB
. -
prefers-reduced-motion media query:
The
prefers-reduced-motion
CSS media query sets styles based on whether the user prefers to minimize the amount of non-essential animations on the device, such as scrolling, panning, zooming, and strobing. - Threads and atomics (WebAssembly): Threads in WebAssembly run code in parallel, while atomic memory instructions can guarantee that no two threads can read or write to shared memory at the same time.
New in Chrome Android
The following features are now available in Chrome Android:
- Background fetch: Background fetch downloads data in the background even when the web page is closed.
-
Hashbang comments:
The
#!
comment at the absolute start of a script or module is treated as a normal comment and is ignored by the JavaScript engine. -
Intersection observer visibility tracking:
The
trackVisibility
parameter for theIntersectionObserver
constructor enables tracking the visibility of an element, to detect if it may be obscured by other content or visual effects. Also known as IntersectionObserver v2. -
Intl.Locale:
The
Intl.Locale
API parses Unicode locale identifiers, with language, region, and script codes, such aszh-Hans-CN
oren-GB
. -
prefers-reduced-motion media query:
The
prefers-reduced-motion
CSS media query sets styles based on whether the user prefers to minimize the amount of non-essential animations on the device, such as scrolling, panning, zooming, and strobing.