WebKit Features in Safari 17.0
Safari 17.0 ships for iOS 17, iPadOS 17 and macOS with a broad set of web platform features, starting with the new HTML <search> element (Safari is the first browser to ship it), the popover attribute and API, and <hr> inside <select>. On the CSS side it adds expanded font-size-adjust (from-font and two-value syntax), font-format()/font-tech() feature queries, unprefixed hyphens, @counter-style, full-width text-transform, the remaining Media Queries level 4 features, and image-set() type/resolution arguments. It also fixes accessibility problems with display:contents and supports the full Storage API, with an origin quota now calculated from total disk space instead of a fixed 1 GB. Code examples show usage, such as adding role="search" to <search> until other browsers support it.
Related posts
- News from WWDC23: WebKit Features in Safari 17 beta
WebKit mediumAdeptSafari 17 beta brings 88 web features. Mac users can add any website to the Dock as a web app: cookies are copied over and web push and badging are supported. The release also adds experimental <model> and WebXR (immersive-vr with hand tracking) for Vision Pro, JPEG XL and HEIC image support, image-set() type arguments, and the power-efficient Managed Media Source API for adaptive streaming. HTML gains the popover attribute and <hr> in <select>, CSS gains @counter-style and expanded font-size-adjust, and each feature comes with code examples showing usage and fallbacks.
- WebKit Features in Safari 17.2
WebKit mediumAdeptSafari 17.2 ships 39 web platform features and 169 fixes, its largest December release. HTML gains exclusive accordions via the `name` attribute on `<details>`. CSS gains relaxed nesting without `&`, the root font units rcap/rex/ric/rch plus `cap`, completed Motion Path support with `rect()`/`xywh()` shapes, `linear()` easing, mixed percentage and length arguments in `round()`/`mod()`/`rem()`, `counter-set`, unprefixed `mask-border`, and the Custom Highlights API. JavaScript and web APIs add import attributes for JSON modules, `Intl.NumberFormat` approximate ranges, Fetch Priority, responsive image preloading, and H264 L1T2 in WebCodecs, with short code examples for many of them.
- WebKit Features in Safari 17.5
WebKit mediumAdeptSafari 17.5 ships seven features and 22 bug fixes, led by CSS additions: text-wrap: balance (with the text-wrap-style longhand), the light-dark() color function, @starting-style for entry transitions, and supports() conditions on @import rules. WebKit balances an unlimited number of lines, versus 6 in Chromium and 10 in Firefox, but skips balancing around floats, initial letters, preserved tabs and soft hyphens. Unsupported text-wrap values fall back to auto, so they are safe to use as progressive enhancement. The release also adds AV1 in WebCodecs when a hardware decoder is available, two WebGL extensions, and fixes across accessibility, media, rendering, Web Push and WebRTC.
- WebKit Features in Safari 16.4
WebKit mediumAdeptSafari 16.4 ships 135 new web features and over 280 polish updates. The headline additions are Web Push and the Badging API for Home Screen web apps on iOS and iPadOS, Declarative Shadow DOM and ElementInternals for Web Components, and a large batch of CSS features. The CSS work includes margin-trim, lh/rlh units, font-size-adjust, Relative Color Syntax, @property, Media Queries level 4 range syntax and CSS Typed OM. JavaScript gains RegExp lookbehind, and HTML gains lazy-loaded iframes. Most features come with short code examples showing typical usage.
- WebKit Features in Safari 18.4
WebKit mediumAdeptSafari 18.4 ships 84 new web platform features, 184 resolved issues and 13 deprecations. Highlights include Declarative Web Push for Home Screen web apps on iOS/iPadOS, which delivers notifications without a Service Worker, and the CSS shape() function for responsive clip paths using CSS units. Other additions include ::details-content styling and animation for <details>, sideways writing modes, text-autospace for CJK spacing, view-transition-name: match-element, and alpha/Display P3 support in the color input. Web Inspector gains device viewport presets in Responsive Design Mode, per-app JSContext auto-inspection, and source map ignoreList support.