Skip to content

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

CSS Remove topic CSS Clear all 70 posts RSS

2026

WebKit

Introducing spatial CSS: A developer preview

Announcement 7 min +70 XP

Safari on visionOS 27.3 ships a developer preview of the proposed spatial CSS API, which routes 3D scene composition through declarative CSS built around the `<model>` element. `spatial: portal` turns a container into a shared 3D space where child models are moved with true 3D `transform`, snapped together via `position-anchor` and `position-context: anchor` against named empties exported from tools like Blender, and lit with reusable `@environment-map` rules using equirectangular HDR images. `portal-action: orbit` lets users rotate the scene, and `requestVolumetricScene()` pops the portal out into a live-linked volumetric scene in the user's space.

WebKit

WebKit Features for Safari 27.2

Release 5 min +50 XP

Safari 27.2 refines Customizable Select with a new `::field-content` pseudo-element for styling the displayed selected option without `<selectedcontent>`, adjusts `appearance: base-select` UA styles (flex-based button spacing, inherited `text-overflow`, simpler `::picker-icon`), and uses `safe` alignment so large pickers stay within the viewport.

WebKit

WebKit Features for Safari 26.5

Release 11 min +110 XP

Safari 26.5 adds the CSS :open pseudo-class for styling open <details>, <dialog>, <select> and <input> pickers, an element-scoped keyword for CSS random() after the spec changed named random values to be global by default, color-interpolation="linearRGB" for SVG gradients, ToggleEvent.source for identifying a popover's invoker, and the Origin API for structured origin and same-site comparisons without the Public Suffix List.

2025

2024

WebKit

WebKit Features in Safari 17.6

Release 3 min +30 XP

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.

2023

2022

WebKit

New WebKit Features in Safari 15.5

Release 5 min +50 XP

Safari 15.5 is mostly a polish and bug-fix release, adding three developer-facing technologies: the HTML `inert` attribute, which makes an element non-interactive and hides it from assistive technologies; the CSP Level 3 `worker-src` directive for restricting worker script sources; and WKWebView `minimumViewportInset`/`maximumViewportInset` APIs so apps can support the new CSS small, large and dynamic viewport units.

2021

The quest for software engineering knowledge.

Look:
Layout: