--- url: "https://web.dev/blog/web-platform-06-2024" titulek: "New to the web platform in June | Blog | web.dev" h1: "New to the web platform in June Stay organized with collections Save and categorize content based on your preferences." popis: "Discover some of the interesting features that have landed in stable and beta web browsers during June 2024." jazyk: "en" kanonicka: "https://web.dev/blog/web-platform-06-2024" drobecky: ["Blog", "New to the web platform in June"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 22:29:06" znaku: 5747 slov: 671 kodovani: "iso-8859-2" sha256: "23c4c9c677804b0f91de249647383c4f1bf8af1f88692aeaa99ff7a580189201" --- New to the web platform in June Stay organized with collections Save and categorize content based on your preferences. Discover some of the interesting features that have landed in stable and beta web browsers during June 2024. Rachel Andrew Stable browser releases In June 2024, [Firefox 127](https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/127) and [Chrome 126](https://developer.chrome.com/release-notes/126) became stable. This post looks at the new features added to the web platform. JavaScript Set methods Sets are an essential data structure in any programming language. Now you can use JavaScript's built-in methods to perform set operations. The following set methods are now available from Firefox 127, and became part of Baseline Newly available: [`intersection()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set/intersection) [`union()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set/union) [`difference()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set/difference) [`symmetricDifference()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set/symmetricDifference) [`isSubsetOf()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set/isSubsetOf) [`isSupersetOf()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set/isSupersetOf) [`isDisjointFrom()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set/isDisjointFrom) Browser Support 122 122 127 17 [Source](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set/intersection) To learn more read [The JavaScript Set methods are now part of Baseline](/blog/set-methods). Async Clipboard API The Clipboard API is now fully supported from Firefox 127. Firefox now supports the `ClipboardItem` interface, along with the `read()` and `write()` methods of the Clipboard interface. Learn more about the Clipboard API in [Unblocking clipboard access](/articles/async-clipboard). Browser Support 76 79 127 13.1 [Source](https://developer.mozilla.org/docs/Web/API/ClipboardItem) Color interpolation in CSS gradients CSS gradients are specified to accept a ``, and this is now supported in Firefox, making this interoperable across all major engines. You can now, for example, specify a `linear-gradient()` using the hsl color system and longer interpolation. `.longer { background: linear-gradient(90deg in hsl longer hue, red, blue); }` Cross-document view transitions Previously you had to rearchitect your website to an SPA to use the View Transitions API. This is no longer the case. From Chrome 126, view transitions are now enabled by default for same-origin navigations. You can create a view transition between two different same-origin documents. To enable a cross-document view transition, both ends need to opt-in. To do this, use the `@view-transition` at-rule and set the navigation descriptor to `auto`. `@view-transition { navigation: auto; }` Browser Support 126 126 x 18.2 [Source](https://developer.mozilla.org/docs/Web/CSS/Reference/At-rules/@view-transition) Learn more in the documentation for [cross-document view transitions](https://developer.chrome.com/docs/web-platform/view-transitions/cross-document). The Gamepad API `trigger-rumble` extension Chrome 126 extends the `GamepadHapticActuator` interface to expose the `trigger-rumble` capability on the web for compatible gamepads. This extension will allow web applications that take advantage of the Gamepad API to also vibrate the triggers of gamepad devices that come equipped with this functionality. 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 128](https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/128), [Chrome 127](https://developer.chrome.com/blog/chrome-127-beta), [Safari 18](https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes), and [Safari 17.6](https://developer.apple.com/documentation/safari-release-notes/safari-17_6-release-notes). 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. Safari 17.6 is a release of fixes to existing features. Safari 18 has a number of exciting new features including style container queries, the view transition API for single-page apps, and support for the `safe` keyword in flexbox properties. Chrome 127 includes the `font-size-adjust` CSS property, the ability to specify alt text on generated content as an arbitrary number of elements, and [the ability to add individual chapter information](/articles/media-session#:%7E:text=add%20also%20individual-,chapter%20information,-%2C%20such%20as%20the) in `MediaMetaData`. Firefox 128 includes CSS Properties and Values, making this feature Baseline Newly available. Use `@property` to define a `type` and set a fallback value for CSS custom properties. Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates. Last updated 2024-06-26 UTC.