New to the web platform in May

The month of May 2026 has ushered in a significant wave of advancements across major web browsers, bringing a host of new features and refinements to the web platform. Stable releases from Chrome, Firefox, and Safari have introduced key functionalities that enhance user experience, developer capabilities, and the overall performance of web applications. This comprehensive update aims to provide developers with more semantic and efficient tools, while also improving the responsiveness and accessibility of web content.
Stable Browser Releases: A Snapshot of May 2026 Innovations
May 2026 saw the stable rollout of Chrome 148, Firefox 151, and Safari 26.5, each contributing distinct and valuable features to the web ecosystem. This period marks a notable progression in the standardization and cross-browser availability of several previously experimental or nascent web technologies.
The :open CSS Pseudo-Class Becomes Baseline
Safari 26.5, while primarily focused on bug fixes and performance optimizations, has also made a significant addition to the CSS landscape: native support for the :open pseudo-class. This feature, now considered "Baseline," allows developers to declaratively style elements based on their open or closed state. Previously, achieving this often involved the use of attribute selectors, such as details[open], which could be less semantic and more cumbersome.
The :open pseudo-class offers a more direct and expressive way to target elements like <details> and <dialog> when they are in an expanded or visible state. Furthermore, its utility extends to interactive form elements such as <select> dropdowns and input pickers (like color or date selectors) when their associated interfaces are actively displayed. This enhancement not only simplifies styling but also promotes more robust and accessible web design practices by aligning with the intrinsic states of these elements. The widespread adoption of this pseudo-class is expected to lead to cleaner and more maintainable CSS for common UI patterns.
CSS Name-Only Container Queries Become Baseline
The release of Chrome 148 marks a pivotal moment for CSS container queries, with the introduction and stabilization of name-only container queries. This advancement, now officially Baseline, significantly streamlines the process of applying styles based on the dimensions or characteristics of a parent container.
Prior to this update, implementing container queries required developers to specify not only a container name but also a size or style condition, alongside setting the container-type property on the ancestor element. The new name-only approach liberates developers from these prerequisites when the sole intent is to query the presence of a named container. This means that a container can be targeted simply by its assigned name, without the need for explicit size constraints or the mandatory declaration of container-type on its ancestors if only a name-based query is intended.
This simplification is illustrated by the following CSS code snippet:
#container
container-name: --sidebar;
@container --sidebar
.content
padding: 2rem;
This example demonstrates how a style block can be applied to elements within a container identified as --sidebar without needing to define its container-type or explicitly state a size query. This capability is expected to dramatically improve the flexibility and efficiency of responsive design, allowing for more granular and context-aware styling of components. The impact of this feature is far-reaching, particularly for design systems and component-based architectures where predictable and isolated styling is paramount.
Container Style Queries for Custom Properties Become Baseline
Complementing the advancements in container queries, Firefox 151 has introduced full support for style() queries within @container. This brings container style queries, specifically for custom properties, to a Baseline status across major browsers. This feature empowers developers to create more dynamic and context-aware styles by querying the computed values of CSS custom properties on parent containers.
While size queries focus on the dimensions of a container, style queries enable developers to react to non-size-related characteristics. The ability to query custom properties is particularly powerful, allowing for intricate theming and conditional styling. For instance, a developer can now easily check if a parent container has a custom property like --theme set to dark and apply corresponding styles.
Consider the following CSS example:
@container style(--theme: dark)
.card
background-color: #1a1a1a;
color: #fff;
This snippet showcases how elements with the class .card can automatically adopt a dark theme by detecting the --theme: dark property on their containing element. This opens up new avenues for creating adaptable user interfaces that can respond to a wide range of environmental or contextual cues defined through custom properties, further enhancing the power of component-based design and theming strategies. The widespread availability of this feature is anticipated to foster more sophisticated and responsive web experiences.
Lazy Loading for Video and Audio Elements

Chrome 148 has expanded the native lazy loading capabilities of the web platform to include <video> and <audio> elements. Mirroring the functionality already available for <img> and <iframe> elements, developers can now utilize the loading="lazy" attribute to instruct the browser to defer the loading of media resources until they are within or nearing the user’s viewport.
This addition is a significant boon for web performance. By delaying the download of video and audio files until they are likely to be viewed, websites can achieve faster initial page load times, reduce bandwidth consumption for users, and conserve data. This is particularly impactful for pages rich in media content, where such optimizations can lead to a demonstrably better user experience. The underlying implementation aims to be intelligent, ensuring that media is loaded at the optimal moment to avoid any perceived delays or interruptions for the user. Further insights into the implementation and benefits of this feature can be found in resources detailing standard HTML video and audio lazy-loading techniques.
The Document Picture-in-Picture API
Firefox 151’s stable release includes support for the Document Picture-in-Picture API on desktop platforms. This API represents a substantial evolution from the standard Picture-in-Picture API, which is primarily designed for displaying <video> elements in a persistent, always-on-top window. The Document Picture-in-Picture API extends this capability to encompass arbitrary HTML content.
This opens up a wealth of possibilities for creating rich, interactive overlays that remain visible even when the user navigates away from the original web page. Potential applications include persistent video conference participant grids, live stock tickers with interactive elements, or countdown timers that continue to function independently. The ability to detach and keep arbitrary HTML content on top of other windows offers a powerful new paradigm for user interface design, enabling more engaging and persistent web experiences.
Web Serial API Expands Platform Support
The Web Serial API, a crucial tool for enabling web applications to communicate with serial devices, has seen expanded platform support in May 2026. Firefox 151 now includes support for this API on desktop platforms, while Chrome 148 has extended its support to Android.
The Web Serial API provides a standardized mechanism for websites to read from and write to serial ports, facilitating interaction with a diverse range of hardware. This includes microcontrollers, 3D printers, development boards, and various peripheral devices. For Firefox, the implementation includes a robust permission model, requiring users to install a synthetically generated site permission add-on. This ensures a secure and controlled environment for managing access to serial devices, prioritizing user privacy and security. The broadened availability of this API across major platforms is a significant step towards enabling more sophisticated hardware-integrated web applications.
Beta Browser Releases: A Glimpse into the Future
Beyond the stable releases, beta versions of Chrome and Firefox offer early access to features slated for future stable updates, providing developers with an opportunity to test and prepare for upcoming changes.
Chrome 149 Beta: Enhanced CSS and API Capabilities
The Chrome 149 beta release showcases several exciting advancements, particularly in the realm of CSS. Developers can now experiment with CSS gap decorations, enabling them to style the whitespace or "gaps" between flex and grid items. This offers a more refined control over layout spacing.
Furthermore, the beta includes expanded support for basic shape functions within the shape-outside property, now accepting path(), shape(), rect(), and xywh() values. The path-length CSS property is also introduced, providing new capabilities for manipulating and styling text and other elements along defined paths.
On the API front, programmatic scrolling methods like scrollTo(), scrollBy(), and scrollIntoView() in Chrome 149 beta now return Promises. These Promises resolve upon the completion of smooth scrolling animations, offering developers greater control and predictability over scroll-related user interactions. Additionally, pages with active WebSocket connections are now eligible for back/forward caching (BFCache), a significant performance improvement that can drastically speed up navigation between pages by serving cached content without a full re-render.
Firefox 152 Beta: Form Controls and Notifications
The Firefox 152 beta introduces full support for the field-sizing CSS property. This property allows form controls, such as text inputs and text areas, to automatically adjust their dimensions to fit their content. This is a valuable addition for creating more fluid and responsive form elements that adapt dynamically to user input.
In terms of APIs, the Firefox 152 beta enhances the Notification interface by adding actions and maxActions properties. This provides developers with more control over the interactive elements within web notifications. Additionally, support for options.pseudoElement has been added to Element.getAnimations(), enabling developers to more precisely target and animate pseudo-elements within the browser’s animation APIs.
The collective advancements across stable and beta releases in May 2026 underscore a continued commitment to enriching the web platform with powerful, developer-friendly, and user-centric features. These updates not only enhance the capabilities of web developers but also pave the way for more sophisticated, performant, and engaging online experiences for users worldwide.







