New to the web platform in May

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

Stable browser releases

In May 2023, Firefox 113, Chrome 113, Chrome 114, and Safari 16.5 became stable. Let's take a look at what this means for the web platform.

WebGPU

Chrome 113 includes WebGPU, the successor to the WebGL and WebGL 2 graphics APIs for the web. It provides modern features such as GPU compute, lower overhead access to GPU hardware, the ability to render to multiple canvases from a single graphics device, and better, more predictable performance.

Browser Support

  • Chrome: 113.
  • Edge: 113.
  • Firefox Technology Preview: supported.
  • Safari Technology Preview: supported.

Source

First-Party Sets

First-Party Sets (FPS) is part of the Privacy Sandbox. It is a way for organizations to declare relationships among sites, so that browsers can decide when to allow limited third-party cookie access for sites within a set. FPS began a staged rollout in Chrome 113.

CSS media features and more

For CSS, Chrome 113 includes the overflow-inline and overflow-block media features.

Browser Support

  • Chrome: 113.
  • Edge: 113.
  • Firefox: 66.
  • Safari: 17.

Source

And the update media feature.

Browser Support

  • Chrome: 113.
  • Edge: 113.
  • Firefox: 102.
  • Safari: 17.

Source

Also included is the linear() easing function, which you can learn more about in the article Create complex animation curves in CSS with the linear() easing function.

Browser Support

  • Chrome: 113.
  • Edge: 113.
  • Firefox: 112.
  • Safari: 17.2.

CSS Color Level 4 features

Firefox 113 includes the color(), lab(), lch(), oklab(), oklch(), and color-mix() functional notations, along with the forced-color-adjust property. This means that the new color spaces and functions are now supported across all three major engines. You can learn more about these color spaces and functions in the High definition CSS color guide.

Browser Support

  • Chrome: 111.
  • Edge: 111.
  • Firefox: 113.
  • Safari: 16.2.

Source

More control over :nth-child() selections

Firefox 113 also adds the ability to pass a selector list into :nth-child() and nth-last-child(). Learn more about this, and see examples in the post More control over :nth-child() selections with the of S syntax.

Browser Support

  • Chrome: 111.
  • Edge: 111.
  • Firefox: 113.
  • Safari: 9.

Compressions Streams API

Now supported in all three major engines due to inclusion in Firefox 113, the Compressions Streams API enables the compression and decompression of streams. This means that JavaScript applications no longer need to bundle a compression library.

Browser Support

  • Chrome: 80.
  • Edge: 80.
  • Firefox: 113.
  • Safari: 16.4.

Source

CSS nesting

Safari 16.5 mostly resolved issues, but also adds support for CSS Nesting, with the new nesting selector >, used to nest related style rules, in a way that will be familiar to developers who have used pre-processors:

.nesting {
  color: hotpink;

  > .is {
    color: rebeccapurple;

    > .awesome {
      color: deeppink;
    }
  }
}

Browser Support

  • Chrome: 120.
  • Edge: 120.
  • Firefox: 117.
  • Safari: 17.2.

Source

Balancing headlines with text-wrap: balance

From Chrome 114 you can use text-wrap: balance. This allows you to balance headlines, avoiding the issue of having a single word on the final line, providing a more pleasing and readable result. You can find out more in CSS text-wrap: balance.

Browser Support

  • Chrome: 114.
  • Edge: 114.
  • Firefox: 121.
  • Safari: 17.4.

Source

CHIPS: Cookies Having Independent Partitioned State

As part of the work to phase out third-party cookies, CHIPS enables opting-in to third-party cookies being partitioned by top-level site using the new cookie attribute Partitioned. CHIPS is available in Chrome 114.

The Popover API

Also in Chrome 114 is the Popover API making it easier to build transient user interface (UI) elements that are displayed on top of all other web app UI.

These include user-interactive elements like action menus, form element suggestions, content pickers, and teaching UI.

The new popover attribute enables any element to be displayed in the top layer automatically. This means no more worrying about positioning, stacking elements, focus or keyboard interactions for the developer.

Learn more in Introducing the popover API.

Browser Support

  • Chrome: 114.
  • Edge: 114.
  • Firefox: 120.
  • Safari: 17.

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 114, Chrome 115, and Safari 16.6. 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.

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, and once in Chrome Stable this makes the multiple values available accross all engines.

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

Firefox 114 includes the WebTransport API, a modern update to WebSockets providing support for multiple streams, unidirectional streams, and out-of-order delivery.

Part of the New to the web series