News

Safari Technology Preview 85 Provides Bug Fixes and Performance Improvements

Apple on Wednesday released Safari Technology Preview 85, 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 85

Pointer Events

  • Updated to ensure that capturing data managed by the PointerCaptureController gets cleared upon navigation
  • Changed compatibility mouse events to be able to be prevented while the pointer is pressed
  • Exposed navigator.maxTouchPoints
  • Changed to only allow pointer capture if the pointer is in the active buttons state
  • Changed to not prevent mouseover, mouseout, mouseenter, and mouseleave events while the pointer is down
  • Changed toElement and fromElement on PointerEvent to be null
  • Changed mouseenter and pointerenter events to be fired from the bottom up

Editing

  • Fixed inserting a newline in contenteditable add one character, not two

Media

  • Added an option to mute audio capture automatically when page is not visible
  • Allowed for resizing camera video feeds to very small resolutions
  • Fixed createAnswer() SDP Rejected by setLocalDescription()
  • Fixed playing one video at a time for multiple videos with audio, and the autoplay and playinlineattributes
  • Changed to hide MediaCapabilities.encodingInfo() when the platform does not support it.

CSS

  • Changed precedence for min-width to always win over max-width
  • Fixed font-optical-sizing to apply the correct variation value
  • Updated to include searching sub-selectors when determining the property whitelist for selector
  • Updated to preserve CSS Grid repeat() notation when serializing declared values

Web API

  • Fixed bounding client rect for an inline element in Intersection Observer
  • Implemented feature policy self, none, and * parsing
  • Implemented imagesrcset and imagesizes attributes on link rel=preload
  • Implemented Promise.allSettled
  • Fixed programmatic scroll in right-to-left overflow with async scrolling enabled
  • Added support for preferred presentation size when pasting an image
  • Made the computed width of non-replaced inline return computed style

JavaScript

  • Implemented support for Numeric Separators
  • Implemented opwide16 and opwide32 and introduced 16-bit version bytecode
  • Fixed InferredValue to not be a JSCell
  • Reduced metadata footprint
  • Changed createListFromArrayLike to throw a type error if the value is not an object

WebAssembly

  • Added support for anyref in globals

Web GPU

  • Updated vertex buffers and Input State API

WHLSL

  • Enforced variable lifetimes
  • Implemented property resolver
  • Improved the speed of parsing and lexing the standard library

Web Inspector

  • Exposed a way to get the current Audit version from within an Audit
  • Allowed arbitrary JSON data to be returned as part of the result of an Audit
  • Changed CSS modifications to be shared for rules that match multiple elements
  • Updated the debugger navigation sidebar to always reveal the active call frame when hitting a breakpoint
  • Moved the overlay rulers to the opposite vertical or horizontal side if they intersect the highlighted nodes so that no content is obstructed
  • Added a setting to show overlay rulers and guides whenever element selection is enabled

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.

Chris Hauk

Chris is a Senior Editor at Mactrast. He lives somewhere in the deep Southern part of America, and yes, he has to pump in both sunshine and the Internet.