Quick Facts
- Category: Technology
- Published: 2026-05-04 09:56:57
- 10 Key Reasons Behind Meta's Layoffs (According to Mark Zuckerberg)
- How Dart and Jaspr United Flutter’s Web Presence: A Technical Migration Story
- How to Accelerate NetSuite Customizations Using SuiteCloud Agent Skills with AI Coding Assistants
- How to Thrive as AI Scaffolding Collapses: A Step-by-Step Guide
- Critical Authentication Bypass in cPanel & WHM: What You Need to Know About CVE-2026-41940
Introduction
Apple has released Safari Technology Preview 240, the latest experimental version of its web browser, available now for macOS Tahoe and macOS Sequoia. This build introduces several improvements and resolutions across CSS, editing, forms, HTML, and media handling. If you already have Safari Technology Preview installed, you can update via System Settings > General > Software Update. The release includes WebKit changes spanning revisions 308418 to 309286.

CSS Enhancements
New Features
- Support for the
revert-rulekeyword: The new CSS keywordrevert-ruleallows developers to roll back the cascade as if the current style rule never existed, offering more granular control over inheritance and specificity. (308733@main)
Resolved Issues
- Fixed an issue on macOS where custom CSS scrollbars were cut off and the scrollbar corner rectangle was incorrectly sized. (309119@main)
- Corrected
hanging-punctuationto properly support apostrophe (U+0027) and quotation marks (U+0022) as hangable characters. (308597@main) - Updated
hanging-punctuationto allow ideographic space (U+3000) to hang when used as the first value. (308605@main)
Editing Improvements
Resolved Issues
- Addressed a problem where the Font Picker style selection became unusable after changing fonts while editing multiple lines. (308562@main)
- Fixed an issue where emoji images were not preserved correctly during copy-paste operations across different websites. (309176@main)
- Resolved erratic text selection that occurred when clicking absolutely-positioned content inside an element with
user-select: none. (308451@main)
Form Behavior Fixes
Resolved Issues
- Fixed keyboard tabbing behavior: when a focused button becomes disabled, the focus no longer jumps to the beginning of the page—it now retains its logical position. (308991@main)
HTML Parsing Corrections
Resolved Issues
- Updated viewport
<meta>parsing to treat form feed as ASCII whitespace, aligning with the HTML specification. (309044@main) - Fixed incorrect parsing of pixel-length margin attributes on
<body>,<iframe>, and<frame>elements. (308526@main)
Media Handling Updates
Resolved Issues
- Resolved decoding failures for WebM audio files with more than two channels. (308749@main)
- Corrected
MediaCapabilities.decodingInfo()to no longer incorrectly report VP8 in WebM as unsupported. (308789@main) - Fixed an issue where MP4 files containing Opus audio tracks could not be decoded using
decodeAudioData. (309140@main) - Addressed an issue where Live Text selection was unavailable on paused fullscreen videos. (308498@main)
- Fixed FairPlay-protected VP9 content playback via MediaSource, ensuring seamless streaming. (308622@main)
- Resolved autoplay proceeding before default text tracks finished loading, improving accessibility. (308796@main)
- Updated the
currentTimegetter to returndefaultPlaybackStartPositionwhen no media player exists. (308654@main) - Ensured
HTMLMediaElementfires atimeupdateevent when resetting the playback position during media load, as required by the specification. (308695@main) - Fixed an issue where the media player
preloadattribute behaved incorrectly under certain conditions (details in the original release).
Conclusion
Safari Technology Preview 240 continues Apple’s commitment to refining the web experience with a focus on standards compliance, performance, and user interface polish. Developers and enthusiasts are encouraged to download the latest build and provide feedback. For a complete list of changes, refer to the WebKit blog.