Skip to content

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

WebKit 5 min read Release mediumAdept

WebKit Features for Safari 27.2

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. Grid Lanes renames `flow-tolerance` to `fit-tolerance` (old name kept as a deprecated alias); the property sets how close column heights must be to count as tied, and raising it well above the 1em default keeps item order steadier for keyboard users. The release also ships 20 bug fixes spanning accessibility, media/WebCodecs, cookies under CNAME, WebGPU indirect draws, and WebRTC.

Assumes: HTML form elementsCSS grid layout

Related posts

  • The golden rule of Customizable Select

    WebKit mediumAdept

    Customizable select, arriving in Safari 27, lets developers fully style `<select>` elements with custom arrows, icons and swatches while keeping native keyboard navigation and accessibility semantics. The one essential rule is to always give each `<option>` text content or an accessible text attribute. Icon-only options are harder for everyone to scan, unusable with screen readers and braille displays, and render as empty options in browsers without support or when CSS fails to load. Use visually hidden text or `alt` attributes where needed, mark decorative images with `alt=""`, and wrap enhancements in `@supports (appearance: base-select)` so plain text stays the baseline.

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

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

  • An HTML Switch Control

    WebKit mediumAdept

    Safari 17.4 adds a native HTML switch control via `<input type=checkbox switch>`, which falls back to a plain checkbox in browsers without support. It mirrors the checkbox API (`:indeterminate` never matches), uses the ARIA switch role with On/Off announcements and OS accessibility indicators, and supports vertical writing modes. It also honors `accent-color` on the track, and `appearance: none` resets all properties to initial values for full custom styling. Use a switch for on/off settings and a checkbox for selection. Experimental `::thumb` and `::track` pseudo-elements sit behind a feature flag pending standardization.

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

The quest for software engineering knowledge.

Look:
Layout: