2

New to the web platform in July

 1 year ago
source link: https://web.dev/web-platform-07-2023/?ref=sidebar
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

New to the web platform in July

Discover some of the interesting features that landed in stable and beta web browsers during July 2023.

Jul 31, 2023

Stable browser releases #

In July 2023 Firefox 115 and Chrome 115 became stable. This post takes a look at what that means for the web platform.

Caution

We include browser compatibility data pulled from MDN in these posts which may not have been updated yet for very recent browser releases. The post will show the correct information as soon as it appears in the browser-compat-data release.

Multiple values for the CSS display property #

Chrome 115 includes multiple values for the CSS display property. This means that display: flex becomes display: block flex and display: block becomes display: block flow. The single values are maintained as legacy keywords, these values are now available in the three major engines.

Browser support
  • Chrome 115, Supported 115
  • Firefox 70, Supported 70
  • Edge 115, Supported 115
  • Safari 15, Supported 15

Scroll-driven animations #

Also in Chrome 115 are the ScrollTimeline and ViewTimeline extensions to the Web Animations specification. These enable scroll-driven animations via CSS and JavaScript.

Browser support
  • Chrome 115, Supported 115
  • Firefox, Not supported
  • Edge 115, Supported 115
  • Safari, Not supported
Source

Privacy Sandbox APIs #

The Privacy Sandbox relevance and measurement APIs shipped in Chrome 115. This includes the Topics, Protected Audience, Attribution Reporting, Private Aggregation, Shared Storage, and Fenced Frames APIs.

To understand more about these APIs check out the Privacy Sandbox demos.

The animation-composition property #

Firefox 115 supports the CSS animation-composition property. Making animation-composition supported in all three major engines. Learn more in the article Specify how multiple animation effects should composite with animation-composition.

Browser support
  • Chrome 112, Supported 112
  • Firefox 115, Supported 115
  • Edge 112, Supported 112
  • Safari 16, Supported 16
Source

Array methods #

Also reaching interoperability with Firefox 115 are a set of methods for Array and TypedArray. Array.toReversed(), Array.toSorted(), Array.toSpliced(), Array.with(), TypedArrays.toReversed(), TypedArrays.toSorted(), and TypedArrays.with() return a new array with elements that have been shallow copied.

Browser support
  • Chrome 110, Supported 110
  • Firefox 115, Supported 115
  • Edge 110, Supported 110
  • Safari 16, Supported 16
Source

Beta browser releases #

Beta browser versions give you a preview of things that will be in the next stable version of the browser. It's a great time to test new features, or removals, that could impact your site before the world gets that release. New betas are Firefox 116 and Chrome 116. The Safari 17 and Safari 16.6 betas are still ongoing. These releases bring many great features to the platform. Check out the release notes for all of the details, here are just a few highlights.

Firefox 116 supports the Audio Output Devices API on all platforms except for Android. This API allows web applications to redirect audio output to a permitted Bluetooth headset, speakerphone, or other device, instead of having to use the browser or underlying OS default.

Chrome 116 includes CSS Motion Path allowing any graphical object to be animated it along a path specified by the developer. This allows a number of powerful new transform possibilities, such as positioning using polar coordinates (with the ray() function) rather than the standard rectangular coordinates used by the translate() function, or animating an element along a defined path. This makes it easier to define complex and beautiful 2d spatial transitions. A path can be specified as circle(), ellipse(), rect(), inset(), xywh(), polygon(), ray() and url().

Also in Chrome 116 is the Document Picture-in-Picture API. This enables an always-on-top window that can be populated with arbitrary HTMLElements. This is an expansion upon the existing HTMLVideoElement API that only allows for an HTMLVideoElement to be put into a Picture-in-Picture (PiP) window.

Photo by Jason Leung.

New to the web platform

Last updated

Jul 31, 2023 — Improve article

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK