New to the web platform in May

The month of May 2026 has proven to be a pivotal period for the global web ecosystem, marked by the simultaneous release of Chrome 148, Firefox 151, and Safari 26.5. These updates have collectively pushed several long-awaited CSS and API features into "Baseline" status, a designation used by the WebDX Community Group to signify that a feature is supported across all major browser engines. This transition to Baseline status is a critical milestone for web developers, as it indicates that technologies once considered experimental or browser-specific are now safe for production use in broad, cross-platform environments.
The releases this month emphasize three core themes in modern web development: the continuing shift toward declarative CSS solutions over JavaScript-heavy workarounds, the optimization of media performance for a mobile-first world, and the expansion of the browser’s ability to interact with local hardware and advanced windowing systems. As the industry moves toward more component-centric architectures, the updates delivered in May provide the necessary infrastructure to build more resilient, high-performance web applications.
The Advancement of CSS Interoperability and Baseline Status
A significant portion of the May 2026 updates focuses on CSS, specifically targeting how developers query and style elements based on their state or their surroundings. The most notable achievement this month is the elevation of the :open pseudo-class and container-based queries to "Baseline Newly Available" status.
The Impact of the :open Pseudo-class
With Safari 26.5 joining Chrome and Firefox in supporting the :open pseudo-class, developers now have a standardized, semantic method for styling elements that toggle between states. Historically, developers relied on attribute selectors, such as details[open], or used JavaScript to toggle classes when a user interacted with a <dialog> or <select> element.
The :open pseudo-class offers a more elegant solution. It applies to any element that is currently in an "open" state, including <details>, <dialog>, and even input pickers like color and date selectors. This update is particularly relevant for accessibility and user interface consistency. By providing a native CSS hook for these states, the browser reduces the need for complex state-management scripts, leading to lighter page weights and faster interaction times.
Container Queries: Name-Only and Style-Based
Container queries have long been hailed as the successor to media queries for component-based design. In May 2026, two major refinements reached Baseline status. First, name-only container queries became universally available with the release of Chrome 148. Previously, developers were required to specify a size or style condition alongside a container name. Now, an element can simply query for the existence of a named ancestor. This simplifies the CSS logic for complex layouts where a component needs to know if it is placed within a specific section, such as a --sidebar, regardless of that section’s current pixel width.
Simultaneously, Firefox 151 introduced support for style() queries for custom properties. This allows developers to apply styles to children based on the value of a CSS variable on a parent container. For example, a developer can now write a query that changes a card component’s background color only if the parent container has a --theme: dark property set. This move toward logic-based styling directly within CSS represents a significant shift away from the "CSS-in-JS" patterns that dominated the early 2020s.
Performance Optimization through Native Lazy Loading
One of the most impactful features for end-users introduced this month is the expansion of native lazy loading. While Chrome has supported lazy loading for images and iframes for several years, Chrome 148 has extended this capability to the <video> and <audio> elements via the loading="lazy" attribute.
In an era where video content accounts for a massive percentage of global internet traffic, this feature addresses a critical performance bottleneck. By delaying the loading of media resources until they are close to the user’s viewport, websites can significantly reduce initial data consumption. This is particularly vital for users on limited data plans or high-latency mobile networks.
Technical analysis from engineering teams, including those at Squarespace who collaborated on the implementation, suggests that native lazy loading for media can improve "Largest Contentful Paint" (LCP) scores by as much as 15% on media-heavy pages. By offloading the management of media loading to the browser engine, developers no longer need to implement custom Intersection Observer scripts, which often cause "Layout Shift" (CLS) if not handled perfectly.
Bridging the Gap Between Web and Desktop: APIs and Hardware
May 2026 also saw the maturation of APIs that allow web applications to behave more like native desktop software. The Document Picture-in-Picture (PiP) API and the Web Serial API received major platform expansions, signaling a growing trust in the web’s ability to handle sensitive hardware and complex UI tasks.

Document Picture-in-Picture
Firefox 151’s support for the Document Picture-in-Picture API on desktop platforms is a major win for productivity applications. Unlike the original PiP API, which was limited to displaying a single video stream in a floating window, the Document PiP API allows for the display of arbitrary HTML content.
This enables a new class of web experiences:
- Video Conferencing: Floating "participant grids" that remain visible while the user takes notes in another application.
- Financial Services: Real-time stock tickers or currency converters that stay on top of other windows.
- Education: Persistent timers or reference materials for students navigating between different tabs.
Hardware Integration with Web Serial
The Web Serial API also reached new heights this month. Firefox 151 added desktop support, while Chrome 148 brought the API to the Android platform. This API allows websites to communicate directly with serial devices, such as microcontrollers (Arduino, ESP32), 3D printers, and industrial sensors.
To address security concerns, Firefox has implemented a unique approach requiring users to install a synthetically generated site-permission add-on. This ensures that hardware access is not granted accidentally. The expansion to Android is particularly noteworthy for field engineers and hobbyists, as it allows for the configuration and debugging of hardware directly from a mobile browser without the need for a dedicated native app.
Chronology of May 2026 Releases
The roll-out of these features followed a structured timeline throughout the month, allowing developers to test and deploy updates in stages:
- May 5, 2026: Chrome 148 enters the stable channel, introducing lazy loading for media and name-only container queries.
- May 12, 2026: Firefox 151 is released, bringing container style queries and the Document PiP API to the stable branch.
- May 19, 2026: Safari 26.5 stabilizes, completing the cross-browser support for the
:openpseudo-class and several critical bug fixes for WebKit. - May 26, 2026: Chrome 149 and Firefox 152 enter beta testing, offering a glimpse into the features scheduled for June.
- May 29, 2026: The WebDX Community Group officially updates the Baseline status for three major CSS features based on the month’s releases.
Industry Reactions and Broader Implications
The web development community has responded with cautious optimism to the May updates. Rachel Andrew, a prominent technical writer and member of the Google Chrome team, noted that the speed at which features are moving from experimental to Baseline is increasing. This trend is largely attributed to the Interop Project, an ongoing collaboration between Google, Mozilla, Apple, and Microsoft to resolve compatibility issues.
Software architects have highlighted that the inclusion of style() queries and :open selectors will lead to a "cleaner" DOM. By removing the need for auxiliary JavaScript classes to track state, the underlying structure of web pages becomes more readable and easier to maintain. Furthermore, the move toward native lazy loading for video is seen as a major step toward a more sustainable web, as it reduces unnecessary server load and energy consumption.
However, some security experts have raised questions regarding the expansion of the Web Serial API to Android. While the convenience is undeniable, the potential for "juice jacking" or malicious hardware interaction via the browser remains a point of discussion. The industry is closely watching Firefox’s "permission add-on" model as a potential blueprint for balancing capability with security.
Looking Forward: Beta Previews for June 2026
As May concludes, the focus shifts to the upcoming features currently in beta. Chrome 149 is testing "CSS gap decorations," a feature that will allow developers to style the gaps in flex and grid layouts directly, such as adding lines or patterns between columns. Additionally, Chrome 149 is introducing Promises for programmatic scroll methods (scrollTo(), scrollBy()), which will allow developers to trigger actions specifically after a smooth scroll animation has finished.
Firefox 152 beta is showcasing the field-sizing property. This "quality of life" improvement allows form elements like <textarea> to automatically grow as the user types, eliminating the need for the common JavaScript "auto-expand" hacks used in modern messaging apps.
The advancements seen in May 2026 underscore a maturing web platform. By focusing on interoperability and native performance, browser vendors are ensuring that the web remains a competitive environment for complex application development, capable of rivaling native operating systems in both functionality and user experience. The transition of these features into Baseline status provides the industry with a stable foundation to build the next generation of digital experiences.







