Skip to content

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

WebKit 34 min read Release mediumAdept

WebKit Features for Safari 26.4

Safari 26.4 ships 44 features, 191 fixes and one deprecation, headlined by CSS Grid Lanes (`display: grid-lanes`) for masonry-style layouts with `flow-tolerance` control, WebTransport as a low-latency WebSocket alternative, and the Keyboard Lock API. Most of the release focuses on spec alignment and interoperability: name-only container queries, `min()`/`max()`/`clamp()` in `sizes`, MathML typography (`math-depth`, `font-size: math`), extensive CSS `zoom` fixes so zoom applies at used-value time and `getBoundingClientRect()` returns scaled values, and scroll-driven animations moved to the compositor thread. The ongoing layout engine rewrite finishes blocks-in-inline layout, continues Flexbox and begins CSS Grid, and developers are asked to file reduced test cases at bugs.webkit.org.

Related posts

  • Release Notes for Safari Technology Preview 243

    WebKit mediumAdept

    Safari Technology Preview 243 ships WebKit changes 310600@main through 312007@main for macOS Tahoe and Sequoia. The bulk of the release is CSS layout and selector fixes, covering flexbox, grid, aspect-ratio, anchor positioning, `:has()` invalidation and CJK line breaking. It also adds `contain: style` for quote counters, the `insert` keyword for `text-autospace` and the `shadowrootslotassignment` attribute. Other changes include accessibility fixes for VoiceOver, an O(n²) fix for parsing large `<select>` lists, an ES module loader rewrite for top-level await correctness, and several regular expression fixes.

  • Release Notes for Safari Technology Preview 234

    WebKit easyNovice

    Safari Technology Preview 234 adds Threaded Scroll-driven Animations, which update opacity, transform, filter and Motion Path animations off the main thread as scrolling happens, for smoother results on ProMotion displays. New CSS layout features include `display: grid-lanes`, an automatic `grid-auto-flow` initial value and `item-tolerance` for masonry. Web API additions cover ReadableStream async iteration, readable byte streams as fetch bodies, the Keyboard Lock API, scoped custom element registries, the WebAuthn PRF extension, and multi-microphone getUserMedia capture. Fixes span table and grid layout, MathML, SVG parsing, Media Source Extensions, Intl and Web Inspector.

  • 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 16.4

    WebKit mediumAdept

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

  • When will CSS Grid Lanes arrive? How long until we can use it?

    WebKit mediumAdept

    CSS Grid Lanes, the masonry-style layout from CSS Grid Level 3, ships with its finalized `display: grid-lanes` syntax in Safari Technology Preview. Firefox has an older flagged implementation using `grid-template-*: masonry`, and Chromium is updating its alternative implementation to the agreed syntax. Developers can adopt it now with progressive enhancement in one of three ways: feature-query and conditionally load Masonry.js only where `CSS.supports('display','grid-lanes')` fails, fall back to Multicolumn (which flows content in a different order and changes tab order), or declare `display: grid` then `display: grid-lanes` so unsupported browsers keep a Grid Level 1 layout. In the Grid fallback, `aspect-ratio`, `object-fit` and `-webkit-line-clamp` force the cards to equal sizes.

The quest for software engineering knowledge.

Look:
Layout: