Interop 2025:融合之年

发布: (2026年2月7日 GMT+8 01:45)
5 分钟阅读

Source: WebKit Blog

Overview

Feb 6, 2026
by Nicole Sullivan

Interop 2025 已经结束,结果不言自明。如今进入第四年,Interop 项目汇聚了 Apple、Bocoup、Google、Igalia、Microsoft 和 Mozilla,旨在找出对 Web 开发者最重要的 Web 平台互操作性领域——并付诸实践。今年是迄今为止最具野心的一届:小组选定了 19 个重点领域5 个调查领域,涵盖 CSS、JavaScript、Web API 和性能等方面。

  • 2025 年初,所有浏览器中仅 29 % 的选定测试通过。
  • 年末,Interop 得分达到了 97 % 的通过率——且四款实验性浏览器(Chrome Canary、Edge Dev、Firefox Nightly 和 Safari Technology Preview)均达到了 99 %

Interop 2025 年度末结果。Chrome Canary、Edge Dev、Firefox Nightly 和 Safari Technology Preview 的得分均为 99 %。整体 Interop 得分为 97 %。

每一年,Interop 项目都会通过提案、对 Web 开发者需求的调研以及优先级讨论的协作流程来确定重点领域。对于 Interop 2025,我们的团队主张加入那些我们知道需要 WebKit 大量工程投入的重点领域——因为我们确信这些领域会对你产生真正的影响。结果表明,这种投入得到了回报。Safari 在今年的提升幅度最大,从 43 % 上升到 99 %

一如既往,今年的重点领域是基于开发者反馈(包括 State of CSS 调查结果)而选定的,我们为所取得的进展感到自豪。19 个重点领域几乎覆盖了平台的每一个角落。

CSS 与 UI

API 与平台功能

健康与兼容性

调查领域

  • 可访问性测试
  • 手柄 API 测试
  • 移动端测试
  • 隐私测试
  • WebVTT

Source:

亮点:三个特别有意义的关注领域

  1. 锚点定位
    使用纯 CSS 将弹出框、工具提示和菜单相对于任意元素定位——无需 JavaScript 定位库。这是过去几年最受期待的 CSS 功能之一,现在已在所有浏览器中实现互操作。

  2. 同文档视图过渡
    在浏览器中原生实现平滑、动画化的 UI 状态切换,并配合新的 view-transition-class CSS 属性进行灵活样式设置。支持已在 2024 年秋季随 Safari 18.0Safari 18.2 推出。Web 开发者对视图过渡感到兴奋,而对互操作性的额外关注意味着它已经可以直接使用。

  3. 导航 API – 作为 history.pushState() 的现代替代方案,为单页应用提供了完整的导航处理,包括拦截、遍历和条目管理。支持已在 Safari 26.2 中推出,我们很高兴看到它从一开始就实现了互操作。

全年互操作得分图表。黑线显示整体互操作性从 1 月的约 30 % 上升到年底的 97 %。蓝线(Safari)从 43 % 上升到 12 月的最高分,接近 100 %。橙线(Firefox)略高于 Safari,走势相似。Edge 和 Chrome 的进展较平缓,起始约 80 %,在年末与其他线条在顶部汇合。

The Interop project tells the story of the year: every browser engine invested heavily, and the lines converge at the top. That convergence is what makes the Interop project so valuable — the shared progress that means you can write code once and trust that it works everywhere.

We want to thank our colleagues across the industry who made this possible. Interoperability is one of the foundational strengths of the web, and we remain committed to this collaboration. You can explore the full results, including scores for each individual focus area, on the [Interop 2025 dashboard](https://wpt.fyi/interop-2025).
Back to Blog

相关文章

阅读更多 »

UEFI 对 JavaScript 的绑定

UEFI Bindings for JavaScript https://codeberg.org/smnx/promethee 在 Hacker News 上的讨论 https://news.ycombinator.com/item?id=46945348 – 11 分,4 条评论....