Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

WebKit 3 min read Release mediumAdept

WebKit Features in Safari 17.6

Safari 17.6 adds one feature and seven bug fixes. The new feature is the `safe` keyword for Flexbox alignment: `justify-content: safe center` start-aligns items that overflow their container, so the start of a word isn't clipped, while still centering items that fit. `unsafe` restores the default always-center behavior. Fixes cover media `loadeddata` events, AudioWorklet distortion, PDF previews, scrolling in end-aligned flex containers, Web Extension background pages, Web Inspector and `getDisplayMedia()` in WKWebView.

Assumes: CSS Flexbox

Related posts

  • WebKit Features in Safari 17.5

    WebKit mediumAdept

    Safari 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.2

    WebKit mediumAdept

    Safari 16.2 focuses on cross-browser interoperability as part of Interop 2022, with Safari Technology Preview 159 passing 98.5% of the Interop tests. It completes support for `font-variant-alternates` values such as `styleset()`, `swash()` and `ornaments()` along with `@font-feature-values`, and adds `last baseline` alignment for Flexbox and Grid items. A long list of fixes covers CSS layout (flex sizing, scroll snap, text-decoration, aspect-ratio), rendering (transforms, canvas, tables), SharedWorker, and WebDriver on iOS.

  • WebKit Features in Safari 17.4

    WebKit mediumAdept

    Safari 17.4 ships 46 web platform features and 146 bug fixes, alongside completion of WebKit's multi-year rewrite of its inline layout engine. The rewrite retires the 21-year-old legacy line layout code, finishing with a reimplementation of Ruby, and is the starting point for rewriting other formatting contexts, beginning with Flexbox. Headline features include a native HTML switch (`<input type="checkbox" switch>`) that falls back to a checkbox, vertical writing-mode form controls, `align-content` in block and table layout, and the `@scope` rule. The release also adds web app manifest `shortcuts` and `categories` on macOS. `@scope` changes specificity tie-breaking so the rule whose scope root is closest in the DOM wins, so it should be adopted with care.

  • WebKit Features in Safari 17.0

    WebKit mediumAdept

    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.

  • WebKit Features for Safari 26.2

    WebKit mediumAdept

    Safari 26.2 ships 62 new web platform features and 165 bug fixes, many of which replace JavaScript workarounds with plain HTML and CSS. New HTML features include button `command`/`commandfor` attributes for controlling dialogs and popovers, `hidden=until-found` and auto-expanding `details` for find-in-page, ARIA index text attributes, and full-width number normalization. CSS additions include `field-sizing`, `random()`, `sibling-index()`/`sibling-count()`, text shaping across inline boxes, Anchor Positioning refinements, `color-mix()` defaulting to Oklab, `scrollbar-color`, accent-color legibility clamping and a full `text-decoration` shorthand. The release also adds the Navigation API, opt-in CHIPS partitioned cookies and WebGPU in WebXR on visionOS.

The quest for software engineering knowledge.

Look:
Layout: