New to the web platform in May

May 2026 has ushered in a significant wave of advancements for web developers, with stable releases from Chrome, Firefox, and Safari introducing a suite of powerful new features. These updates, detailed in the latest browser release notes, promise to enhance user experience, streamline development workflows, and unlock new possibilities for web applications. From declarative styling with new CSS pseudo-classes and container queries to improved media handling and advanced API integrations, the web platform continues its rapid evolution, solidifying its position as a versatile and dynamic development environment.
Stable Browser Releases Unveil Foundational Web Technologies
The month of May 2026 saw the stable rollout of Chrome 148, Firefox 151, and Safari 26.5, each contributing key features that are now broadly available to users worldwide. This synchronized release cycle underscores the collaborative nature of web standards development and the industry’s commitment to delivering cutting-edge functionality to the public.
The :open CSS Pseudo-Class Achieves Baseline Status
Safari 26.5, while primarily a release focused on stability and bug fixes, has notably included support for the :open CSS pseudo-class. This inclusion marks a significant milestone, bringing the feature to "Baseline" status, meaning it is now widely supported across major browsers and can be confidently used by developers without the need for extensive fallbacks.
The :open pseudo-class offers a semantically rich way to style elements that possess distinct "open" and "closed" states. Its application extends to familiar HTML elements such as <details> and <dialog>, allowing developers to visually differentiate these components when they are expanded or active. More critically, it also enhances the styling capabilities for interactive elements like <select> dropdowns and various <input> types, such as color or date pickers, when their associated picker interfaces are displayed. Prior to this, developers often relied on attribute selectors like details[open] for such styling. The :open pseudo-class provides a more elegant, declarative, and maintainable approach, aligning styling logic directly with the element’s state. This advancement is expected to lead to cleaner and more intuitive user interfaces across the web.
CSS Name-Only Container Queries Become Baseline
With the release of Chrome 148, name-only container queries have officially achieved "Baseline" status, a development that has been eagerly anticipated by the developer community. This feature allows for more granular and context-aware styling by enabling developers to target elements based on the characteristics of their parent containers, without the prior necessity of defining explicit size or style conditions.
Historically, implementing container queries required developers to specify a size or style query condition alongside the container name, and critically, to define the container’s type using the container-type property on the ancestor. The new name-only approach simplifies this considerably. Developers can now query the mere presence of a named container solely by its name, irrespective of any specific size constraints or style attributes. Furthermore, if the sole intention is to query by name, the requirement to set a container-type on the ancestor has been eliminated. This significantly reduces boilerplate code and enhances the flexibility of responsive design.
Consider the following example, illustrating the streamlined syntax:
#container
container-name: --sidebar;
@container --sidebar
.content
padding: 2rem;
This code snippet demonstrates how a style rule within .content can be applied simply when it resides within a container named --sidebar, regardless of that container’s dimensions. This is a powerful advancement for building component-based architectures and creating adaptable layouts that respond to their immediate surroundings rather than just the viewport. The implication is a more robust and efficient way to manage complex UI states and ensure components look and function optimally across diverse screen sizes and contexts.
Container Style Queries for Custom Properties Reach Baseline
Firefox 151 has introduced support for style() queries within @container rules, a move that brings container style queries specifically for custom properties to "Baseline" status. This expansion of container query capabilities allows developers to style elements based on the computed values of CSS properties of a parent container, moving beyond purely size-based queries.
While size queries have been instrumental in responsive design, style queries unlock a new dimension of adaptability by enabling developers to query non-size-related features. The recent cross-browser support for querying custom properties is particularly noteworthy. This enables developers to create highly dynamic and thematically consistent interfaces. For instance, a developer can now easily check if a custom property, such as --theme, is set to dark on a parent container and apply specific styles accordingly.
An illustrative example highlights this functionality:
@container style(--theme: dark)
.card
background-color: #1a1a1a;
color: #fff;
This CSS snippet demonstrates how a .card element can automatically adopt a dark background and light text color if its parent container has the --theme custom property set to dark. This capability is transformative for theming systems, allowing for dynamic theme switching and adaptive styling based on user preferences or contextual states. The widespread adoption of this feature is expected to simplify the implementation of sophisticated design systems and enhance the user’s ability to personalize their web experience.
Lazy Loading for Video and Audio Elements Arrives in Chrome

Chrome 148 has integrated native lazy loading for <video> and <audio> elements, bringing parity with existing functionality for <img> and <iframe> elements. By utilizing the loading="lazy" attribute, developers can now instruct the browser to defer the loading of media resources until they are proximate to the user’s viewport.
This feature is a critical advancement for web performance optimization. By delaying the download of large media files until they are actively needed, lazy loading significantly improves initial page load times, reduces unnecessary bandwidth consumption, and conserves data usage for users, particularly those on metered connections. The implications for user experience are substantial, leading to faster perceived performance and a more seamless browsing experience, especially on content-rich websites. The engineering team behind this implementation has provided further insights in their article, "How To Use Standard HTML Video and Audio Lazy-Loading on the Web Today," offering developers a comprehensive guide to leveraging this powerful performance tool.
The Document Picture-in-Picture API Enhances Interactivity
Firefox 151 has introduced support for the Document Picture-in-Picture API on desktop platforms, opening up new avenues for interactive web overlays. Unlike the traditional Picture-in-Picture API, which is designed to display a single <video> element in an always-on-top window, the Document Picture-in-Picture API allows for the creation of persistent, always-on-top windows containing arbitrary HTML content.
This capability is a game-changer for applications requiring persistent, interactive interfaces. Developers can now create rich overlays such as real-time video conference participant grids, dynamic stock tickers, or interactive timers that remain visible and functional even when the user navigates away from the primary web page. This is achieved by allowing a separate, always-on-top window to be populated with any HTML content, offering a level of interactivity and persistence previously only achievable through native applications or complex workarounds. The potential applications range from enhanced productivity tools to more immersive educational and entertainment experiences.
Web Serial API Broadens Platform Support
Both Firefox and Chrome have expanded support for the Web Serial API in their May 2026 releases. Firefox 151 now supports the API on desktop platforms, while Chrome 148 has extended its support to Android. The Web Serial API provides a standardized mechanism for websites to interact with serial devices, enabling direct communication with hardware such as microcontrollers, 3D printers, development boards, and various peripheral devices.
This expanded support democratizes access to hardware prototyping and control for web developers. Websites can now more readily integrate with physical devices, facilitating applications in areas like IoT (Internet of Things), robotics, and industrial automation. In Firefox, the implementation includes a user-centric approach to security, requiring users to install a synthetically generated site permission add-on. This ensures a controlled and transparent method for managing access to serial ports, prioritizing user privacy and security while still enabling powerful hardware interactions. The availability on Android further broadens the scope of applications, allowing for mobile-first hardware control scenarios.
Beta Browser Releases Offer a Glimpse into the Future
The beta channels of Chrome and Firefox have also seen significant updates, providing developers with early access to features slated for future stable releases. Chrome 149 beta and Firefox 152 beta offer a preview of innovations that will shape the web platform in the coming months.
Chrome 149 Beta: Advancements in CSS and Performance
The Chrome 149 beta release brings a host of exciting CSS enhancements, including CSS gap decorations. This feature allows developers to style the whitespace, or "gaps," between flex and grid items, offering more precise control over layout spacing. Furthermore, the beta introduces support for path() and shape() alongside rect() and xywh() as basic shape functions within the shape-outside property. The path-length CSS property has also been added, offering new possibilities for defining complex text flows and graphic interactions.
On the API front, programmatic scroll methods like scrollTo(), scrollBy(), and scrollIntoView() in the Chrome 149 beta now return Promises. These Promises resolve upon the completion of smooth scrolling animations, providing developers with better synchronization and control over scroll-based user interactions. Crucially, pages with active WebSocket connections can now qualify for back/forward caching (BFCache). This optimization significantly improves navigation performance by allowing the browser to instantly restore pages from memory, even if they contain active real-time connections, a previously prohibitive factor for BFCache eligibility. This combination of CSS and API advancements in the Chrome beta signals a continued focus on developer ergonomics and user experience enhancements.
Firefox 152 Beta: Enhancements to Form Controls and Notifications
The Firefox 152 beta release introduces full support for the field-sizing property. This property enables form controls to automatically adjust their dimensions to accommodate their content, leading to more responsive and user-friendly form elements. The beta also enriches the Notification interface with actions and maxActions properties, providing developers with greater control over the interactive elements within web notifications.
A notable addition is the support for options.pseudoElement within Element.getAnimations(). This allows developers to retrieve and manipulate animations applied to pseudo-elements, offering finer-grained control over complex UI animations and transitions. These updates in the Firefox beta demonstrate a commitment to improving the user experience of interactive web applications and enhancing the capabilities of web notifications.
The collective advancements from both stable and beta browser releases in May 2026 highlight a robust and dynamic web platform. Developers now have at their disposal a more powerful and intuitive set of tools for building sophisticated, performant, and engaging web experiences. The ongoing evolution of CSS, coupled with significant API expansions, underscores the web’s capacity to meet the increasingly complex demands of modern application development.







