Skip to content

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

WebKit 22 min read Release mediumAdept

WebKit Features in Safari 18.2

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.

Assumes: CSS layout basicsHTML

Related posts

  • WebKit Features in Safari 18.0

    WebKit mediumAdept

    Safari 18.0 ships 53 new web platform features, 25 deprecations and 209 fixes in WebKit alongside iOS 18, macOS Sequoia and visionOS 2. Notable additions include the View Transitions API, CSS Style Queries for custom properties, currentcolor and system colors in Relative Color Syntax, transitions on `display`, unprefixed `backdrop-filter`, and `content-visibility`. Web apps on Mac can now capture in-scope links and run extensions, and visionOS 2 adds WebXR immersive-vr sessions with transient-pointer input and hand tracking, plus Fullscreen API support for spatial photos and panoramas. Code samples show how to use the new CSS and JavaScript APIs.

  • News from WWDC24: WebKit in Safari 18 beta

    WebKit mediumAdept

    Safari 18 beta ships 48 new web platform features, 18 deprecations and 174 bug fixes across iOS 18, iPadOS 18, visionOS 2 and macOS Sequoia betas. Headline additions include immersive WebXR on visionOS with transient-pointer input and hand tracking, the View Transitions API, CSS Style Queries for custom properties, and currentcolor and system color keywords in Relative Color Syntax. Further additions are display-property transitions, the safe alignment keyword in Flexbox, content-visibility, and unprefixed backdrop-filter. Mac web apps can now open matching links based on their manifest scope and support extensions, and the Fullscreen API on visionOS can present spatial photos and panoramas immersively.

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

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

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

The quest for software engineering knowledge.

Look:
Layout: