惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
L
LINUX DO - 最新话题
P
Proofpoint News Feed
Cyberwarzone
Cyberwarzone
Know Your Adversary
Know Your Adversary
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
L
Lohrmann on Cybersecurity
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Security Latest
Security Latest
T
The Exploit Database - CXSecurity.com
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Privacy & Cybersecurity Law Blog
K
Kaspersky official blog
The Last Watchdog
The Last Watchdog
Webroot Blog
Webroot Blog
Scott Helme
Scott Helme
T
Threat Research - Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
WordPress大学
WordPress大学
L
LINUX DO - 热门话题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
V
Visual Studio Blog
O
OpenAI News
AI
AI
Hacker News: Ask HN
Hacker News: Ask HN
V2EX - 技术
V2EX - 技术
GbyAI
GbyAI
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Simon Willison's Weblog
Simon Willison's Weblog
S
Schneier on Security
Spread Privacy
Spread Privacy
Y
Y Combinator Blog
I
InfoQ
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
F
Fortinet All Blogs
C
CERT Recently Published Vulnerability Notes
T
The Blog of Author Tim Ferriss
C
Check Point Blog
Apple Machine Learning Research
Apple Machine Learning Research
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
N
News and Events Feed by Topic
Project Zero
Project Zero
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
B
Blog
G
Google Developers Blog

web.dev: Blog

New to the web platform in May  |  Blog  |  web.dev April 2026 Baseline monthly digest  |  Blog  |  web.dev New to the web platform in April  |  Blog  |  web.dev March 2026 Baseline monthly digest  |  Blog  |  web.dev New to the web platform in March  |  Blog  |  web.dev January 2026 Baseline monthly digest  |  Blog  |  web.dev New to the web platform in February  |  Blog  |  web.dev Navigation API - a better way to navigate, is now Baseline Newly Available  |  Blog  |  web.dev Interop 2026: Continuing to improve the web for developers  |  Blog  |  web.dev
February 2026 Baseline monthly digest  |  Blog  |  web.dev
2026-03-30 · via web.dev: Blog

February 2026 Baseline monthly digest

Jeremy Wagner

Published: March 30, 2026

February has been another eventful month for the web platform. From enhanced security with Trusted types to a more ergonomic CSS syntax for complex shapes, the tools at our disposal continue to mature across all major browser engines.

In this digest, we'll take a look at the features that reached Baseline milestones this month, helping you build a more robust and capable web with interoperability in mind.

Interop 2026 has launched

Last month, Interop 2026 launched, which is an effort to increase the interoperability of web features. This effort involves representatives from companies that substantially contribute to browser rendering engines:

Interop is an important initiative because emerging web features are prioritized, and much effort goes into landing high-priority features in all major browser engines. As with years past, there is a dashboard available to help you understand the pass rates of tests against identified key features.

Baseline Newly available features

The following features became part of Baseline in February 2026, meaning they are now newly supported across all major browser engines.

CSS shape() function

The shape() function is a new addition to the <basic-shape> data type, providing a more intuitive way to define complex paths for the clip-path and offset-path properties. Unlike the path() function, which requires a single string of SVG-like commands, shape() uses a standard CSS syntax. This lets you use CSS units (like rem, em, or %), math functions like calc(), and even CSS variables within your shape definitions. This makes creating responsive, dynamic shapes significantly easier for developers who are more comfortable with CSS than SVG path strings.

Learn more about the CSS shape() function on MDN.

Trusted types

Securing web applications against DOM-based cross-site scripting (XSS) attacks gets a major boost with the Baseline arrival of the Trusted Types API. This API requires developers to process data through "policies" before it can be passed into dangerous "sinks"—APIs that can execute code or render HTML, such as Element.innerHTML or eval(). By enforcing these policies through the Content Security Policy (CSP), you can ensure that only sanitized or "trusted" data is ever used in a way that could lead to an injection vulnerability, moving security checks from a manual review process to a platform-enforced guarantee.

Read the documentation for the Trusted Types API on MDN.

Map getOrInsert() and getOrInsertComputed()

JavaScript Map objects have become even more ergonomic with the addition of getOrInsert() and getOrInsertComputed(). These methods streamline the common pattern of checking if a key exists in a map and, if not, inserting a default value before returning it. getOrInsert() is useful for basic default values, while getOrInsertComputed() accepts a callback function. The callback is only executed if the key is missing, making it ideal for cases where the default value is computationally expensive to create.

Check out Map getOrInsert() on MDN.

Zstandard compression

Zstandard (or zstd) is now a Baseline Newly available option for HTTP Content-Encoding. Known for its high compression ratios and extremely fast decompression speeds, Zstandard offers a modern alternative to Gzip and Brotli. It is particularly effective across a wide range of data types, helping developers reduce the amount of data sent over the wire and improve page load times without taxing the user's CPU during the decompression process.

Explore the Content-Encoding header and Zstandard on MDN.

Baseline Widely available features

This month, an internationalization tool became Baseline Widely available.

The dirname HTML attribute

The dirname attribute is now Baseline Widely available. This attribute can be added to <input> and <textarea> elements to automatically capture the directionality (either ltr for left-to-right or rtl for right-to-left) of the text entered by the user. When the form is submitted, the browser sends an additional field—named after the value of the dirname attribute—containing the directionality. This is an essential feature for applications that support multilingual users, ensuring that the server receives the context necessary to display or process text correctly in its intended direction.

Find more details on the dirname HTML attribute on MDN.

That's a wrap

As usual, let us know if we missed anything Baseline-related, and we'll make sure it gets captured in a future edition! If you have any questions or want to provide feedback on Baseline, you can file an issue in our issue tracker.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-03-30 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-30 UTC."],[],[]]