New in Chrome 135

Published: April 1, 2025

Chrome 135 is rolling out now, and this post shares some of the key features from the release. Read the full Chrome 135 release notes, and check out our quarterly roundup for everything released so far this year.

Highlights from this release

There's a whole set of features that enable CSS carousels. The command and commandfor attributes let you attach behavior to buttons in a declarative way. The CSS shape() function lets you define a shape for the clip-path and offset-path properties.

CSS carousels

There's a large number of CSS features in the release notes, and many of these are different small additions that combine to enable CSS carousels. The key features are the new CSS pseudo-elements—::scroll-button() and::scroll-marker()`, which let you turn a scrollable area into a carousel.

To find out how to use these new features, and to get inspiration for your own projects, read Carousels with CSS.

The command and commandfor attributes

Chrome 135 introduces new capabilities for providing declarative behaviour with the new command and commandfor attributes, enhancing and replacing the popovertargetaction and popovertarget attributes. These new attributes can be added to buttons, letting the browser address some core issues around simplicity and accessibility, and provide built-in common functionality.

The following HTML sets up declarative relationships between a button and the menu which lets the browser handle the logic and accessibility for you. There's no need to manage aria-expanded or add any additional JavaScript.

<button commandfor="my-menu" command="show-popover">
Open Menu
</button>
<div popover id="my-menu">
  <!-- ... -->
</div>

Learn more about these new attributes in Introducing command and commandfor.

The CSS shape() function

The shape() CSS function is used to define a shape for the clip-path and offset-path properties.

The shape() function uses a set of commands roughly equivalent to the ones used by path(), but does so with more standard CSS syntax, and allows the full range of CSS functionality, such as additional units and math functions. It's in Firefox Nightly and Safari 18.4 beta, so should be Baseline Newly available soon.

And more!

Of course there's plenty more.

  • The Web Speech API now includes MediaStreamTrack support.
  • The Float16Array is supported and becomes Baseline Newly available.
  • The Observable API is now supported.

Further reading

This covers only some key highlights. Check the following links for additional changes in Chrome 134.

Subscribe

To stay up to date, subscribe to the Chrome Developers YouTube channel, and you'll get an email notification whenever we launch a new video. Or follow us on X or LinkedIn for new articles and blog posts.

As soon as Chrome 135 is released, we'll be right here to tell you what's new in Chrome!