Technology

Safari Technology Preview 240: New CSS Features and Bug Fixes

2026-05-11 00:54:42

Introduction

Apple has released Safari Technology Preview 240, the latest test version of its web browser designed for developers and early adopters. This update brings a host of improvements across CSS, editing, forms, HTML, and media handling. Available for macOS Tahoe and macOS Sequoia, the build incorporates changes from WebKit revisions 308418@main to 309286@main. Existing users can update via System Settings > General > Software Update.

Safari Technology Preview 240: New CSS Features and Bug Fixes
Source: webkit.org

CSS Enhancements

New Features

The standout addition is support for the revert-rule CSS keyword. This keyword allows developers to roll back a cascade layer for a specific rule, effectively removing the current rule's influence as if it never existed. This provides finer control over style stacking and inheritance. (308733@main)

Resolved Issues

Editing Improvements

Resolved Issues

Forms Fixes

Resolved Issues

HTML Parsing Updates

Resolved Issues

Media and Audio/Video Enhancements

Resolved Issues

Conclusion

Safari Technology Preview 240 continues Apple's commitment to refining the browsing experience for developers. With targeted fixes in CSS, editing, forms, HTML, and media, this release aims to improve compatibility and stability. Developers are encouraged to test their websites against these changes and provide feedback through the WebKit project.

Explore

Linux Distributions Roll Out Critical Security Patches on Friday Web Dev Breakthroughs: HTML-in-Canvas API, Hex Map Analytics, E-Ink OS, and CSS Image Swap The Double-Edged Sword: How a DDoS Protection Firm Became the Source of Massive Attacks on Brazilian ISPs Apple May Introduce Fresh MacBook Neo Colors to Offset Rising Costs New Threat Group UNC6692 Targets Enterprises via Helpdesk Impersonation and Custom Malware