New to the web platform in July
Discover some of the interesting features that landed in stable and beta web browsers during July 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.
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.
- 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.
- Chrome 115, Supported 115
- Firefox, Not supported
- Edge 115, Supported 115
- Safari, Not supported
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.
- Chrome 112, Supported 112
- Firefox 115, Supported 115
- Edge 112, Supported 112
- Safari 16, Supported 16
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.
- Chrome 110, Supported 110
- Firefox 115, Supported 115
- Edge 110, Supported 110
- Safari 16, Supported 16
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.