What reached Baseline in February
February brought several notable additions to the web platform, with features crossing into Baseline across the major browser engines. The month also marked the launch of Interop 2026, the cross-engine effort to improve interoperability of web features. Representatives from Apple, Google, Igalia, Microsoft, and Mozilla are participating, and a dashboard tracks test pass rates against the initiative's key features.
Newly available: CSS shape(), Trusted Types, and more
Four features became newly available across all major engines in February.
shape() function
The shape() function extends the <basic-shape> data type, giving developers a CSS-native way to define complex paths for clip-path and offset-path. Unlike path(), which requires an SVG command string, shape() accepts standard CSS syntax: units such as rem, em, and %, math functions like calc(), and CSS variables. This makes responsive shape definitions far more approachable for developers who work primarily in CSS. See the MDN reference for details.
Trusted Types API
The Trusted Types API is now Baseline, offering a platform-level defense against DOM-based cross-site scripting. The API requires data to pass through configurable "policies" before reaching dangerous sinks such as Element.innerHTML or eval(). Combined with a Content Security Policy, this enforces that only sanitized data reaches injection-prone APIs, turning what was a manual code-review burden into an enforced guarantee. The MDN documentation covers the full API surface.
Map getOrInsert() and getOrInsertComputed()
JavaScript Map gains two ergonomic additions. The getOrInsert() method handles the common "return existing value or default" pattern, while getOrInsertComputed() accepts a callback that runs only when the key is absent. The latter is particularly useful when the default value is expensive to construct. Both are documented on MDN.
Zstandard compression
Zstandard (zstd) is now a valid HTTP Content-Encoding value across all engines. The format offers high compression ratios with very fast decompression, making it a strong modern alternative to Gzip and Brotli for reducing payload sizes without heavy CPU costs on the client. See the MDN entry on Content-Encoding for usage details.
Widely available: dirname attribute
The dirname attribute reached Widely available status this month. When placed on <input> or <textarea> elements, it instructs the browser to submit an additional form field whose value captures the directionality (ltr or rtl) of the user's entered text. The field name comes from the attribute's value. This is a small but important feature for multilingual applications that must process text in the correct direction server-side. More details are in the MDN reference.
If a Baseline-related milestone was missed in this digest, the team tracks feedback through the web-features issue tracker.



