what is new in webkit

Asked on 06/11/2025

@wwdc25

1 search

In the "What’s new in Safari and WebKit" session at WWDC 2025, several new features and improvements were introduced for WebKit:

  1. Animation Enhancements: Cross Document View transitions were highlighted, allowing for smooth transitions between pages with just a line of CSS, without needing JavaScript. This feature was introduced in Safari 18.2.

  2. Layout Improvements: New features like anchor positioning were introduced, which make it easier to create tooltips and position menus that respond to viewport changes.

  3. Visual Effects: The session covered improvements in CSS for creating versatile shapes and visual effects, including the new shape function supported in Safari 18.4.

  4. Media Support: Safari 18.4 added support for WebM and the Media Recorder API, allowing for real-time podcast and video recording in web apps. Additionally, support for HDR images was announced, enhancing the visual quality of media on the web.

  5. WebKit for SwiftUI: A new set of SwiftUI APIs for WebKit was introduced, including a WebView for showing web content in apps, allowing for rich interaction with web pages.

For more detailed information, you can refer to the session What’s new in Safari and WebKit (00:00:00).