--- url: "https://web.dev/blog/web-platform-06-2025" 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 2025." jazyk: "en" kanonicka: "https://web.dev/blog/web-platform-06-2025" drobecky: ["Blog", "New to the web platform in June"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 00:03:32" znaku: 6539 slov: 808 kodovani: "iso-8859-2" sha256: "80882826424aaf06c39724bd5c1141d5e47286c5314851e8ae24e7351c5d784d" --- 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 2025. Rachel Andrew Published: June 30, 2025 Stable browser releases In June 2025 [Firefox 140](https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/140) and [Chrome 138](https://developer.chrome.com/release-notes/138) became stable. This post looks at the new features added to the web platform with these releases. Escape `<` and `>` in attributes when serializing HTML Both Chrome 138 and Firefox 140 include this change to prevent exploits where HTML is serialized then injected back into the DOM. This change is also included in the Beta for Safari 26. [Learn more about why this change was needed](https://developer.chrome.com/blog/escape-attributes). The CSS Custom Highlight API Firefox 140 implements the [CSS Custom Highlight API](https://developer.mozilla.org/docs/Web/API/CSS_Custom_Highlight_API). This lets you define and style arbitrary text ranges in a document, similar to other highlight CSS pseudo-elements such as `::grammar-error`. Browser Support 105 105 140 17.2 [Source](https://developer.mozilla.org/docs/Web/API/Highlight) As well as the JavaScript API, the work includes the CSS `::highlight` pseudo-element, used to apply styles to the registered highlight. While this feature is now broadly interoperable, some issues with the `::highlight` pseudo-element make it not quite Baseline yet. The Cookie Store API is an asynchronous API for managing cookies, and is supported from Firefox 140. There's now basic support for this API in all browsers, however check [the compatibility chart](https://developer.mozilla.org/docs/Web/API/Cookie_Store_API#browser_compatibility) on MDN for information on parts that are not yet interoperable. Browser Support 87 87 140 18.4 [Source](https://developer.mozilla.org/docs/Web/API/CookieStore) Removal of mutation events [Interop 2025](https://wpt.fyi/interop-2025) contains a removal this year. The legacy mutation events like `DOMSubtreeModified`, `DOMNodeInserted`, and `DOMNodeRemoved` watch for changes to the DOM and run an event listener callback when DOM changes occur. These mutation events were deprecated in favor of the MutationObserver API, which is more performant and less error-prone. Firefox 140 removes these events, which are already removed from Chrome. Browser Support x x x x [Source](https://developer.mozilla.org/docs/Web/API/MutationEvent) CSS functions in Chrome 138 Chrome 138 includes a whole set of CSS functions, some of these are new to the platform, others become Baseline with their inclusion in Chrome. The sign-related functions [`abs()`](https://developer.mozilla.org/docs/Web/CSS/abs) and [`sign()`](https://developer.mozilla.org/docs/Web/CSS/sign) become Baseline Newly available with Chrome 138. Browser Support 138 138 118 15.4 [Source](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/abs) New to the platform is the interpolation function—`progress()`. Browser Support 138 138 155 26 [Source](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/progress) Chrome 138 also includes `sibling-index()` and `sibling-count()`. These can be used as integers in CSS property values to style elements based on their position among its siblings, or the total number of siblings respectively. Browser Support 138 138 154 26.2 [Source](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/sibling-index) Built-in AI APIs for translation, language detection, and summarization Chrome 138 includes three built-in JavaScript AI APIs. The [Translator and Language Detector APIs](https://developer.mozilla.org/docs/Web/API/Translator_and_Language_Detector_APIs) let you detect the language that text is written in, and translate that text to different languages. They use the browser's own internal AI model, and so do this work on-device. Browser Support 138 148 x x [Source](https://developer.mozilla.org/docs/Web/API/Translator) The [Summarizer API](https://developer.mozilla.org/docs/Web/API/Summarizer_API) summarizes text, again on-device using the browser's internal AI model. Browser Support 138 138 x x [Source](https://developer.mozilla.org/docs/Web/API/Summarizer) Support for video frame orientation in WebCodecs Chrome 138 also adds `rotation: int` and `flip: bool` values to various video related interfaces in WebCodecs so that developers can work with frame sources that have orientation. 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 141](https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/141), [Safari 26](https://developer.apple.com/documentation/safari-release-notes/safari-26-release-notes), and [Chrome 139](https://developer.chrome.com/blog/chrome-138-beta). Safari 26 promises to be a feature-packed release for the browser. For CSS it includes support for `overflow-block` and `overflow-inline`, Scroll-driven animations, anchor positioning, the CSS `progress()` function, and much more. There's also support for the AudioEncoder and AudioDecoder APIs, the URLPattern API, Digital Credentials API, Trusted Types, and WebAuthn Signal API. Chrome 139 includes CSS Custom Functions, corner shaping, and the `caret-animation` property. Also included is the On-device Web Speech API, Web app scope extensions, and the `request-close` invoker command. Firefox 141 adds the `options.source` argument for `showPopover()` and `togglePopover()`, to establish a relationship between a popover and its invoker. It also includes support for the CSS `font-variant-emoji` property. 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 2025-06-30 UTC.