Skip to content

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

WebKit 39 min read Release mediumAdept

WebKit Features for Safari 26.2

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.

Related posts

  • WebKit Features in Safari 26.0

    WebKit mediumAdept

    Safari 26.0 ships 75 new web features, 3 deprecations and 171 improvements, headlined by CSS Anchor Positioning (position-area, anchor(), position-try), scroll-driven animations, text-wrap: pretty, contrast-color() and the progress() function, with code examples for each. On iOS and iPadOS 26 every site added to the Home Screen now opens as a web app by default, with no manifest required. Other additions include HDR images with the dynamic-range-limit property, the <model> element and immersive video via HLS on visionOS, the Digital Credentials API, WebGPU, and WebKit in SwiftUI. Note that progress() does not clamp, so values can fall below 0% or exceed 100%.

  • WebKit Features in Safari 17.2

    WebKit mediumAdept

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

    WebKit mediumAdept

    Safari 18.2 ships 61 new WebKit features and 111 fixes, headlined by cross-document View Transitions (with view-transition-name: auto, transition classes and types, and pageswap/pagereveal events), CSS text-box trimming for optical alignment to cap height, and background-clip: border-area. It also brings modern calc() with division by units, ruby-align/ruby-overhang and unprefixed ruby-position, scrollbar-width and scrollbar-gutter (which has no effect with overlay scrollbars), ::target-text styling for text fragment links, spatial video and photo viewing in visionOS, WebXR enabledFeatures, Genmoji support, WASM garbage collection and HTTPS by default. Code samples show how to apply each feature, and Safari is the first browser to ship text-box, which degrades gracefully as a progressive enhancement.

  • News from WWDC26: WebKit in Safari 27 beta

    WebKit mediumAdept

    Safari 27 beta ships 58 new features, 525 fixes and 4 deprecations, with most of the work going into correctness, edge cases, cross-feature interactions and alignment with web standards and other browsers. Headline features include customizable <select> via appearance: base-select with ::picker-icon, ::checkmark and <selectedcontent>, transform-aware anchor positioning, scroll anchoring, WebAssembly JSPI, the :heading pseudo-class, revert-rule, the stretch sizing keyword and subpixel inline layout. Anchor positioning also changes: position-anchor now defaults to normal, and anchors-valid/anchors-visible are renamed to anchor-valid/anchor-visible. Long lists of fixes cover CSS layout, :has() invalidation performance, SVG 2 alignment, tables and form controls.

  • WebKit Features in Safari 18.4

    WebKit mediumAdept

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

The quest for software engineering knowledge.

Look:
Layout: