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

Taming IoT Technical Debt from AI-Generated Code: A Practical Guide Fedora KDE Plasma Desktop Edition 44: A Refined Experience with Plasma 6.6 and Streamlined Setup The Backbone of Kubernetes APIs: A Deep Dive into SIG Architecture's API Governance Subproject Fedora Linux 44 Launches with GNOME 50 and Plasma 6.6 – Major Desktop Overhaul Heightened Cyber Threats from Iran: Analysis and Defense Strategies (Updated April 17)