February 2026 Baseline Monthly Digest

February 2026 has marked another significant period of advancement for the web platform, with critical features reaching "Baseline" status, signifying their widespread adoption across major browser engines. This month’s digest highlights key developments, including enhanced security measures with the Trusted Types API, more intuitive CSS syntax for defining complex shapes, and robust JavaScript utility functions, all contributing to a more stable, interoperable, and capable web. The progress underscores the ongoing collaborative efforts within the web development community to ensure a consistent and powerful experience for developers and users alike.
The current month’s updates are particularly noteworthy as they coincide with the official launch of Interop 2026, a crucial initiative dedicated to fostering greater interoperability among web features. This collaborative endeavor, involving key contributors to browser rendering engines, aims to prioritize and expedite the implementation of emerging web standards across all major browsers. The continued success of Interop is vital for the web’s evolution, ensuring that new functionalities are not siloed within specific browsers but are universally accessible, thereby reducing fragmentation and simplifying development. A publicly accessible dashboard at wpt.fyi/interop-2026 provides real-time insights into the testing progress and pass rates for identified key features, offering transparency and accountability.
This period has seen a notable expansion of features that have achieved "Baseline" status, meaning they are now universally supported across all leading browser engines. This widespread availability empowers developers to leverage these advancements with confidence, knowing their applications will function consistently for the vast majority of users.
CSS Shape() Function: Crafting Complex Geometries with Ease
A significant enhancement in CSS, the shape() function, has now reached Baseline status. This new addition to the <basic-shape> data type offers a more user-friendly and CSS-native approach to defining intricate paths for properties like clip-path and offset-path. Unlike its predecessor, the path() function, which relies on a single string of SVG-like commands, shape() embraces a standard CSS syntax. This shift allows developers to seamlessly integrate CSS units such as rem, em, and percentages, along with powerful functions like calc(), and even CSS variables, directly within their shape definitions.
The implications for web design are substantial. Developers can now create responsive and dynamic shapes with greater agility, particularly those who are more accustomed to CSS than the intricacies of SVG path syntax. This simplification democratizes the creation of sophisticated visual elements, enabling more complex layouts and interactive designs without a steep learning curve. For instance, designers can now create clipping masks that adapt fluidly to screen size changes or animate elements along custom, CSS-defined paths with unprecedented ease. The move towards a more integrated and intuitive CSS syntax for such advanced features aligns with the broader goal of making the web platform more accessible and powerful for a wider range of creators. Further details on the CSS shape() function can be found on MDN.
Trusted Types API: Fortifying Web Applications Against XSS Attacks
In a critical development for web security, the Trusted Types API has achieved Baseline status, significantly bolstering defenses against DOM-based cross-site scripting (XSS) attacks. This API introduces a mandatory policy-driven approach to data handling, requiring developers to process data through designated "policies" before it can be passed into sensitive "sinks." These sinks are APIs capable of executing code or rendering HTML, such as Element.innerHTML or eval().
By enforcing these policies via the Content Security Policy (CSP), developers can ensure that only sanitized or "trusted" data is ever used in contexts that could lead to injection vulnerabilities. This represents a paradigm shift, moving security checks from a reactive, manual review process to a proactive, platform-enforced guarantee. The Trusted Types API effectively creates a barrier, preventing untrusted data from being interpreted as executable code. This is particularly crucial in today’s landscape where dynamic content and user-generated input are prevalent.
The impact of this API is profound. It significantly reduces the attack surface for XSS vulnerabilities, a persistent threat that has plagued web applications for years. By making data sanitization an integral part of the development workflow and browser enforcement, it provides a more robust and reliable security posture. Organizations that have historically struggled with manual security audits or the complexities of implementing effective XSS mitigations will find this feature invaluable. The adoption of Trusted Types by major browser engines signifies a collective commitment to elevating web security standards. Developers can consult the MDN documentation for the Trusted Types API to understand its implementation and best practices.
JavaScript Map getOrInsert() and getOrInsertComputed(): Streamlining Data Management
JavaScript’s built-in Map object has become more developer-friendly with the integration of getOrInsert() and getOrInsertComputed(). These new methods elegantly address a common programming pattern: checking for the existence of a key in a map and, if it’s absent, inserting a default value before returning it.

The getOrInsert() method is ideal for situations where a simple, static default value is required. In contrast, getOrInsertComputed() offers greater flexibility by accepting a callback function. This callback is executed only when the specified key is not found in the map. This selective execution is particularly beneficial for scenarios where the default value is computationally expensive to generate. By deferring the computation until it’s actually needed, developers can optimize performance and avoid unnecessary processing.
These additions streamline code, making it more concise and readable. Instead of writing verbose if statements to check for key existence and then inserting a value, developers can now use these single, expressive methods. This improvement contributes to cleaner codebases and reduces the potential for errors. For instance, in caching mechanisms or configuration loading, these methods can simplify the logic for retrieving or initializing values. The availability of these utilities as Baseline features ensures consistent behavior across browsers, facilitating their adoption in a wide range of JavaScript applications. Further details on Map.getOrInsert() can be found on MDN.
Zstandard Compression: Accelerating Data Transfer
The Zstandard (zstd) compression algorithm has now achieved Baseline status for HTTP Content-Encoding. Renowned for its impressive compression ratios and exceptionally fast decompression speeds, Zstandard emerges as a modern and highly effective alternative to established algorithms like Gzip and Brotli.
Its ability to efficiently compress a diverse array of data types makes it a powerful tool for developers aiming to reduce the volume of data transmitted over the web. This directly translates to faster page load times and an improved user experience, especially for users on slower or metered connections. Crucially, zstd’s rapid decompression capabilities ensure that this performance gain doesn’t come at the cost of increased CPU load on the client-side. This balanced approach to compression and decompression makes it a highly attractive option for optimizing web asset delivery.
The inclusion of Zstandard as a Baseline feature signifies a step forward in web performance optimization. By offering a more efficient and performant compression standard, it empowers developers to deliver richer content and applications with greater speed and responsiveness. This can have a tangible impact on user engagement, conversion rates, and overall satisfaction. The broader implications include a more efficient internet infrastructure, as reduced data transfer leads to lower bandwidth consumption. Developers can explore the Content-Encoding header and Zstandard on MDN for more information.
Baseline Widely Available Features: Enhancing Internationalization
This month also saw an important internationalization tool reach "Baseline Widely Available" status, indicating its robust and long-standing support across browsers.
The dirname HTML Attribute: Capturing Text Directionality
The dirname HTML attribute has now become Baseline Widely Available. This attribute can be appended to <input> and <textarea> elements to automatically record the directionality of the text entered by a user. This directionality can be either left-to-right (ltr) or right-to-left (rtl). When a form containing such elements is submitted, the browser automatically includes an additional field. This new field is named after the value specified in the dirname attribute and contains the detected text directionality.
This feature is indispensable for applications that cater to a global audience and support multiple languages. It provides the server with essential context regarding the direction in which text should be displayed or processed, ensuring accurate rendering and handling of multilingual content. For instance, in a multilingual forum or a content management system, dirname ensures that text entered in languages like Arabic or Hebrew is correctly interpreted and displayed by the server. This attribute eliminates the need for manual client-side JavaScript detection of text direction, simplifying development and reducing potential errors. Developers can find further details on the dirname HTML attribute on MDN.
Looking Ahead
The continuous expansion of Baseline features, as evidenced by the February 2026 updates, underscores the dynamic and collaborative nature of web platform development. The launch of Interop 2026 further solidifies this commitment to a unified and interoperable web. Developers are encouraged to leverage these newly available and widely supported features to build more secure, performant, and accessible web experiences.
As always, feedback on Baseline-related developments is welcomed. Issues can be filed in the web-platform-dx/web-features issue tracker on GitHub, providing a direct channel for contributing to the ongoing refinement and improvement of web standards and their implementation.





