WebKit Features for Safari 26.2
2 days ago
- #Safari
- #Web Development
- #Browser Features
- Safari 26.2 introduces 62 new features aimed at simplifying web development.
- New HTML attributes like `command` and `commandfor` allow buttons to control dialogs and popovers without JavaScript.
- CSS `field-sizing` property enables auto-growing text fields.
- Navigation API simplifies building single-page applications.
- Support for full-width number normalization and text shaping for languages like Arabic.
- Anchor Positioning improvements with `position-visibility` property.
- New CSS functions: `random()`, `sibling-index()`, and `sibling-count()`.
- Text shaping across inline boxes for scripts like Arabic and N’Ko.
- Initial Letter improvements for better drop-cap styling.
- CHIPS reintroduces opt-in partitioned cookies for better privacy.
- WebXR on visionOS now supports WebGPU.
- Navigation API provides a modern replacement for the History API with better control over browser navigation.
- Scrollend event for reliable detection of scrolling completion.
- View Transitions API enhancements with `document.activeViewTransition`.
- Pointer and Touch Events now include fractional coordinates for sub-pixel precision.
- Service Workers improvements for better error handling.
- Cookie Store API enhancements for stricter validation of cookie name prefixes.
- Performance API additions: Event Timing API and Largest Contentful Paint (LCP).
- Web Animations API adds `overallProgress` property and `commitStyles()` method.
- JavaScript additions: `Math.sumPrecise()`, `Map.prototype.getOrInsert()`, and `WeakMap.prototype.getOrInsert()`.
- WebAssembly improvements for memory management and string handling.
- WebGPU support for WebXR on visionOS.
- SVG enhancements including support for `type` attribute on `<a>` elements and `repeatEvent` for animations.
- WebRTC adds encrypted field to `RTCRtpHeaderExtensionParameters`.
- Canvas removes non-standard `drawImageFromRect` method.
- Web Compatibility improvements with CHIPS for partitioned cookies.
- WebDriver enhancements for testing Storage Access API scenarios.
- WebKit API updates for exporting more content types using SwiftUI `Transferable` APIs.
- Web Extensions API improvements for managing extension state and deep linking to settings.
- Bug fixes across accessibility, animations, CSS, DOM, forms, HTML, JavaScript, media, rendering, security, service workers, storage, tables, Web API, Web Inspector, WebDriver, and WebRTC.