---
title: "WebKit Features in Safari 16.4"
description: "Safari 16.4 ships 135 new web features and over 280 polish updates."
url: "https://swe.quest/articles/webkit-features-in-safari-16-4-4fda9eefaadc5c33"
canonical: "https://webkit.org/blog/13966/webkit-features-in-safari-16-4/"
source: "WebKit"
published: "2023-03-27"
difficulty: "medium"
kind: "Release"
reading_minutes: 38
tags: ["browsers","css","frontend","mobile"]
---

# WebKit Features in Safari 16.4

A post on [WebKit](https://swe.quest/sources/webkit.md), published 2023-03-27, 38 min read, Release. Original: [https://webkit.org/blog/13966/webkit-features-in-safari-16-4/](https://webkit.org/blog/13966/webkit-features-in-safari-16-4/)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [CSS](https://swe.quest/tags/css.md) (Web & mobile)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)

## Prerequisites

- CSS fundamentals ([easy posts on CSS](https://swe.quest/tags/css.md?difficulty=easy))
- Service Workers

## Keywords

Safari 16.4, WebKit, Web Push, Declarative Shadow DOM, Relative Color Syntax, margin-trim, Badging API, CSS Typed OM

## Related posts

- [WebKit Features in Safari 18.4](https://swe.quest/articles/webkit-features-in-safari-18-4-c34aa1377d66e945.md): WebKit · 2025-03-31 · Medium · 38 min read · Browsers, CSS, Frontend, Developer tools
  Safari 18.4 ships 84 new web platform features, 184 resolved issues and 13 deprecations.
- [WebKit Features in Safari 16.5](https://swe.quest/articles/webkit-features-in-safari-16-5-78f214007552b969.md): WebKit · 2023-05-18 · Easy · 4 min read · Browsers, CSS, Frontend
  Safari 16.5 is mainly a polish and bug-fix release that adds CSS Nesting, the :user-valid and :user-invalid pseudo-classes, Apple Pay support for pre-orders and deferred payments, and disabling of the WebCodecs API in Lockdown Mode.
- [WebKit Features in Safari 17.2](https://swe.quest/articles/webkit-features-in-safari-17-2-c596929bac2922c9.md): WebKit · 2023-12-11 · Medium · 27 min read · Browsers, CSS, Frontend, JavaScript
  Safari 17.2 ships 39 web platform features and 169 fixes, its largest December release.
- [New WebKit Features in Safari 15.4](https://swe.quest/articles/new-webkit-features-in-safari-15-4-378317c134d40474.md): WebKit · 2022-03-14 · Medium · 13 min read · Browsers, CSS, Frontend, JavaScript
  Safari 15.4 ships over 70 WebKit additions, led by the \<dialog\> element with ::backdrop, lazy-loaded images, the :has() parent selector (shipped first in Safari), Cascade Layers, CSS containment, and new small/large/dynamic viewport units (svh, lvh, dvh and friends) that fix mobile viewport sizing.
- [WebKit Features in Safari 26.0](https://swe.quest/articles/webkit-features-in-safari-26-0-4e0c3f282c06e21a.md): WebKit · 2025-09-15 · Medium · 40 min read · Browsers, CSS, Frontend, Mobile
  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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
