Release Notes for Safari Technology Preview 171
Safari Technology Preview Release 171 is now available for download for macOS Monterey 12.3 or later and macOS Ventura. If you already have Safari Technology Preview installed, you can update it in the Software Update pane of System Preferences on macOS Monterey, or System Settings under General → Software Update on macOS Ventura.
This release includes WebKit changes between: 263538@main…264301@main.
Web Inspector
- Console tab
- Added showing the
targetof aWeakRef(264171@main) - Fixed timestamps taking up different amounts of space (264161@main)
- Added showing the
- Sources tab
- Fixed Step Over behaving like resume when stepping over a function with a falsy conditional breakpoint (264160@main)
- Storage tab
- Fixed truncated localStorage editing giving the illusion of a proper edit and the truncated string being saved (264166@main)
- Fixed popovers so that only one can be displayed at a time (264159@main)
CSS
- Added support for
@font-face { src: tech() }and@supports font-tech()(263725@main) - Added support for
@font-facesize-adjustdescriptor (263604@main) - Fixed ascent for flex items that are scroll containers to be clamped to the border box (263974@main)
- Fixed
text-shadowandbox-shadowwithcurrentcolor(264120@main) - Fixed the containing block for items in a masonry columns grid to be the logical width of the grid’s content box (264011@main)
- Fixed not adding extra grid gap at the bottom of masonry rows (263657@main)
- Fixed computing masonry item offsets (263709@main)
- Fixed
image-setto accept zero resolution and clamp negative resolutions used incalcexpressions (264298@main) - Fixed container query length units to use the content box instead of the border box (263595@main)
- Fixed CSS Masonry Layout to ensure grid size updates on resize (263712@main)
- Fixed
overflow: clipfails when intrusive float is present (264101@main) - Removed parsing support of
leftandrightvalues forcaption-side(264262@main) - Renamed
text-box-trimvaluenormaltonone(263702@main) - Renamed
leading-trimtotext-box-trimto match the latest spec (263587@main) - Renamed
text-edgetotext-box-edgeto match the latest spec (263612@main) - Fixed the bug that
@supports selector()fails for all-webkit-prefixed pseudo elements (264090@main)
CSS Counter Styles
- Added support for extending ethiopic counter styles (263602@main)
- Added support for extending CJK counter styles (263542@main, 263544@main)
Web Animations
- Removed animation support for
zoom(263908@main)
Rendering
- Fixed images with
decoding="async"flickering while zooming in (264433@main) - Fixed handling multi-column intrinsic inline-size changes (264292@main)
- Fixed SVG use element doesn’t render if it references a subsequent element after a style resolution (264085@main)
- Fixed
alttexts rendered horizontally in vertical writing mode (263776@main) - Fixed OffscreenCanvas rendering hiding the border from the element (263731@main)
- Complex text path: Make tab glyph invisible after advancing (263929@main)
- Fixed text not wrapping in a nested grid (264252@main)
- Changed to respect style containment on list items (264273@main)
- Fixed negative shadow repaint issue (263899@main)
- Fixed width of textarea with overflow hidden including scrollbar thickness (264095@main)
- Fixed
textarea’s logical height withoverflow: autoto not include scrollbar-thickness (264251@main)
JavaScript
- Cached default
IntlNumberFormat(264057@main) - Cached lookups of ProxyObject’s traps (263944@main)
- Changed to not use Strong<> in VM and simplify jsString (264099@main)
- Changed to not use Vector as intermediate transfer buffer for typed array (263942@main)
- Disabled
Array#groupandArray#groupToMap(263922@main) - Fixed
definePropertyOnReceiver()to account forput_by_val_with_thisbytecode op (263559@main) - Fixed
/\p{Number}--]/v;to be a syntax error (264175@main) - Fixed
JSON.parseto use simple recursion until it hits a soft-recursion threshold (263744@main) - Fixed StringConstructor constant function inlining in the case of
[[Construct]](264191@main) - Fixed Stringifier to quickly get names even if it involves accessors (263619@main)
- Optimized Dictionary access (264040@main)
- Optimized
JSON.stringifyinteger serialization (263765@main)
Popover
- Changed to not throw when popover or dialog is in requested state (263957@main)
- Changed to only use the invoker to establish popover hierarchy (264002@main)
- Changed to use the
<dialog>focus algorithm for dialog popovers (263749@main) - Changed
hidePopoverto restore focus only when focus was in the popover (263645@main) - Reset the invoker in
showPopover()(264006@main)
Web API
- Added more explicit error messages for
new URL(url, base)Constructor (264129@main) - Added
valueargument to URLSearchParams’shas()anddelete()(263726@main) - Added support for
AbortSignal.any()(264163@main) - Added support for
ServiceWorkerRegistration.getNotifications()(264169@main) - Added support for the
<search>element (264110@main) - Exposed
DeviceMotionEventandDeviceOrientationEventon the globalWindowobject on macOS (264271@main) - Changed
document.body.onerrorsetter to setup a five-parameter listener (264190@main) - Changed the HTML parser to allow
<hr>to be used inside<select>as a separator per a recent HTML Standard change the WebKit team contributed, which makes it easier to add a visual separator on macOS (263624@main) - Changed to not escape
<,>,&, andnbspinside a<noscript>element when scripting is enabled (263633@main) - Changed to respect
Content-Typefrom internal headers instead of caching it in body (264054@main) - Changed to allow relative URLs and http(s) scheme in the
WebSocketconstructor (263968@main) - Changed
WebSocket‘sbinaryTypesetter to not throw (263963@main) - Fixed firing a
controllerchangeevent on clients when a service worker gets deleted (264255@main) - Fixed running a service worker before firing its activate event (264242@main)
- Fixed
document.writeof template producing multiple text nodes (263841@main) - Fixed event dispatching on disabled form controls (264098@main)
- Fixed a bug in the preload scanner with nested templates (263850@main)
- Fixed node depth computation for shadow nodes in
ResizeObserver(263920@main) - Fixed revealing the focused input element in an event loop task instead of a post layout task (263665@main)
- Fixed
<input type="date">with an invalid date to return an empty string for the value instead of the default value (263784@main) - Fixed sanitizing email input when the
multipleattribute is set (263555@main) - Fixed selecting a link and pasting plain text changes text in the link, but not the link href (263539@main)
- Fixed
StorageManager.persist()(263930@main) - Fixed
input.validityreportingvalid: truefor partially completed dates and times (263748@main) - Fixed Compression Streams not handling large outputs during the flush stage (263997@main)
- Mapped
align="abscenter"tovertical-align: middle(263852@main)
Media
- Added support for
getDisplayMediavideo track clone resizing (263750@main) - Exposed
aspectRatioandframeRatein RTCPeerConnection remote MediaStreamTrack settings (263849@main) - Fixed camera and microphone to all have
groupIds(264112@main)
Accessibility
- Fixed the HTML
<menu>element to map torole=list(264077@main) - Fixed
aria-describedbyto be equivalent toaria-descriptionand override it when both are present (263813@main) - Fixed slot elements not computing a label for
aria-labelledby(263644@main) - Fixed slotted elements inside
<dialog>andaria-modalnot being accessible (263561@main)
SVG
- Fixed
<marker orient="-1">to orient correctly (264053@main) - Fixed
overflow="visible"having no effect on the dimension of auseelement unless its dimensions are specified (263977@main)