• Home
  • Apps
  • macOS
  • News
  • Safari Technology Preview 96 Features Bug Fixes and Performance Improvements

Safari Technology Preview 96 Features Bug Fixes and Performance Improvements

Safari Technology Preview 96 Features Bug Fixes and Performance Improvements

Apple on Thursday released Safari Technology Preview 96, the latest version of their developer preview web browser. The preview version of Apple’s popular browser offers developers and other interested users the ability to try out features that may or may not, debut in future public release versions of Safari.

Release 96

Web Animations

  • Enabled the Web Animations JavaScript API by default

WebAuthN

  • Implemented AuthenticatorCancel

SVG

  • Added auto behavior to the width and height properties of the SVG <image> element
  • Added bounding-box keyword to pointer-events
  • Fixed SVGElement to conform with SVG2
  • Loaded event must be fired only for the SVG structurally external elements and the outermost SVG element
  • Removed the viewTarget property of SVGViewElement

Web API

  • Added strictness to request’s Content-Type
  • Changed XMLHttpRequest.responseXML url to be the HTTP response URL
  • Changed String.prototype.matchAll to throw on non-global regex
  • Fixed a bad is array assertion JSON.parse
  • Fixed setting border-radius on <video> element clipping the top and left sections of the video
  • Ignored document.open or document.write after the active parser has been aborted
  • Made requestIdleCallback suspendable

CSS

  • Added content-box and stroke-box to the transform-box property
  • Added support for gradients using stops with multiple positions
  • Fixed a crash when parsing gradients with multi-position color stops

Clipboard API

  • Implemented ClipboardItem.getType()
  • Implemented navigator.clipboard.read()

CSS Shadow Parts

  • Changed :part rules to be able to override the style attribute

JavaScript

  • Removed wasmAwareLexicalGlobalObject

Picture-in-Picture API

  • Implemented EnterPictureInPictureEvent support
  • Added runtime logging for the Picture-in-Picture API

Media

  • Added support for callbacks for manifest events

Service Worker

  • Fixed MP4 video element broken with Service Worker

Back-Forward Cache

  • Prevented putting pages that have not reached the non-visually empty layout milestone into the back-forward cache
  • Fixed Notification to not prevent entering the back-forward cache
  • Fixed AudioContext to not prevent entering the back-forward cache
  • Fixed FetchResponse to not prevent entering the back-forward cache
  • Fixed XMLHttpRequest to not prevent entering the back-forward cache

Web Inspector

  • Elements
    • Added clickable icons for each CSS rule that distinguish the rule’s type
    • Fixed $0 being shown for the wrong node when selecting elements in a user agent shadow tree
    • Fixed the selection color dimmed when inside a shadow tree
    • Replaced color wheel with square HSB color picker
  • Sources
    • Fixed the content of the function definition popover sometimes getting cut off
    • Changed the function/object preview popover to keep the name sticky to the top
    • Provided a way to inject “bootstrap” JavaScript into the page as the first script executed

WebDriver

  • Fixed the Element Click endpoint triggering a click at an incorrect y-coordinate

The update can be downloaded from the Safari Technology Preview website, or if the browser is already installed, it can be updated via the “Update” tab in the Mac App Store. Full release notes for the update are also available on the Safari Technology Preview website.

While the preview is intended for use by developers and advanced users, in order to provide Apple with feedback on the development of the Safari browser, it can be run side-by-side with the release version of Safari. The app doesn’t require a developer account to download and install. For more information, visit the Safari Technology Preview website.