<!--
{
  "documentType" : "article",
  "framework" : "Safari Technology Preview Release Notes",
  "identifier" : "/documentation/Safari-Technology-Preview-Release-Notes/stp-release-167",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "Safari Technology Preview 167 Release Notes"
}
-->

# Safari Technology Preview 167 Release Notes

Learn about the latest web technology updates in Safari Technology Preview: Web Inspector, CSS, JavaScript, WebAssembly, Media, Popover, Rendering, Web API, Accessibility, MathML, and SVG.

## Overview

[Safari Technology Preview](https://webkit.org/blog/6017/introducing-safari-technology-preview/) Release 167 is now [available for download](https://webkit.org/downloads/) 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: [261248@main…262124@main](https://github.com/WebKit/WebKit/compare/0de797f8f137b977f9f17c33bb788c74e569d9af...34d1ba42ca5b1beeffceda8eff598bedbfc5ef2d).

### Web Inspector

- Elements tab
  - Fixed editing CSS properties inside rules with nested rules causing the inner nested rules to be deleted ([261329@main](https://commits.webkit.org/261329@main))
  - Fixed filtering styles to also match CSS at-rule identifiers ([261804@main](https://commits.webkit.org/261804@main))
  - Fixed new CSS property unexpectedly getting dropped from an empty CSS rule ([261861@main](https://commits.webkit.org/261861@main))
  - Fixed adding a new CSS rule in the Styles sidebar not appearing to add the rule on first attempt ([261883@main](https://commits.webkit.org/261883@main))
- Sources tab
  - Added pretty-printing support for various modern JavaScript syntax, including optional chaining, private class members, and optional assignment operators ([261748@main](https://commits.webkit.org/261748@main))

### CSS

- Implemented CSS `text-transform` with multiple values ([261419@main](https://commits.webkit.org/261419@main))
- Added offsets into `shape-outside` Shapes ([261331@main](https://commits.webkit.org/261331@main))
- Added support for top-level `&` selector for CSS Nesting ([261739@main](https://commits.webkit.org/261739@main))
- Added support for `counter()` with `@counter-style` ([261985@main](https://commits.webkit.org/261985@main))
- Changed to apply basic font properties as font variation settings ([261566@main](https://commits.webkit.org/261566@main))
- Fixed CSS `@imports` in HTML missing quote marks getting mistakenly hidden from the Preload Scanner ([261254@main](https://commits.webkit.org/261254@main))
- Fixed calculating the `CSSFilter` geometry and clipping ([261827@main](https://commits.webkit.org/261827@main))
- Fixed `border-image-repeat: round` to match other browsers ([261903@main](https://commits.webkit.org/261903@main))

### JavaScript

- Added ClassSetCharacter syntax tests for RegExp `v` flag and fix issues found ([261746@main](https://commits.webkit.org/261746@main))
- Added more tests for RegExp `v` flag and fix issues found ([261714@main](https://commits.webkit.org/261714@main))
- Added ProxyObjectHas IC to optimize “has” trap ([261628@main](https://commits.webkit.org/261628@main))
- Aligned error message for non-callable ProxyObject’s “get” trap with its counterparts ([261627@main](https://commits.webkit.org/261627@main))
- Optimized `Function.prototype.bind` ([261825@main](https://commits.webkit.org/261825@main))
- Optimized `Function#bind` ([261993@main](https://commits.webkit.org/261993@main))

### WebAssembly

- Added support for `anyref` behind flag ([261711@main](https://commits.webkit.org/261711@main))
- Implemented `cast` operations behind flag ([261445@main](https://commits.webkit.org/261445@main))
- Implemented `eqref` and `ref.eq` behind flag ([261663@main](https://commits.webkit.org/261663@main))
- Implemented initial minimal JS API for Wasm GC behind flag ([261544@main](https://commits.webkit.org/261544@main))

### Media

- Fixed video in picture-to-picture snaps to incorrect size ([261383@main](https://commits.webkit.org/261383@main))
- Fixed a page with one document doing capture and another playing correctly handle remote commands ([261414@main](https://commits.webkit.org/261414@main))
- Fixed `readyState` to change back to `HAVE_METADATA` when removing a sample at the current playtime ([261955@main](https://commits.webkit.org/261955@main))
- Fixed `SourceBuffer.buffered` to return the same object if it’s not modified ([261848@main](https://commits.webkit.org/261848@main))
- Fixed video’s `readyState` incorrectly switching between `HAVE_CURRENT_DATA` and `HAVE_METADATA` ([262112@main](https://commits.webkit.org/262112@main))
- Skipped initial MSE buffering rate computation ([261328@main](https://commits.webkit.org/261328@main))

### Popover

- Avoided conflicting interactions in the top layer ([261317@main](https://commits.webkit.org/261317@main))
- Made `element.togglePopover()` more interoperable ([261386@main](https://commits.webkit.org/261386@main), [261436@main](https://commits.webkit.org/261436@main))
- Implemented popover focusing steps ([261400@main](https://commits.webkit.org/261400@main))
- Implemented `popovertarget` & `popovertargetaction` attributes ([261346@main](https://commits.webkit.org/261346@main))
- Added an exception when calling `dialog.show()` on an open popover ([261351@main](https://commits.webkit.org/261351@main))

### Rendering

- Fixed mixed characters in right-to-left SVG text ([261495@main](https://commits.webkit.org/261495@main))
- Fixed `margin-top` getting ignored on elements with zero-height (and clear set) if they appear after floating elements ([261926@main](https://commits.webkit.org/261926@main))

### Web API

- Added support for Apple Pay in cross-origin iframes with `allow=payment` attribute ([262616@main](https://commits.webkit.org/262616@main))
- Implemented Priority Hints ([261689@main](https://commits.webkit.org/261689@main))
- Changed to allow quota to be set based on disk space ([261840@main](https://commits.webkit.org/261840@main))
- Changed `range.extractContents()` to abort early if there’s a `doctype` in the range ([261342@main](https://commits.webkit.org/261342@main))
- Changed to include FetchMetadata on preflight requests ([261587@main](https://commits.webkit.org/261587@main))
- Fixed some Scroll To Text Fragment URLs not finding existing text on the page ([261302@main](https://commits.webkit.org/261302@main))
- Fixed the `<summary>` element not focusable with `tabindex` ([261497@main](https://commits.webkit.org/261497@main))
- Fixed problems changing `multiple` state `<select>` element to `single` state ([261380@main](https://commits.webkit.org/261380@main))
- Fixed `Cross-Origin-Embedder-Policy` incorrectly blocking iframes on cache hit ([261924@main](https://commits.webkit.org/261924@main))
- Fullscreen window size is incorrect for non-video elements ([261904@main](https://commits.webkit.org/261904@main))
- Optimized the HTML parser entity names table by omitting semicolons ([261734@main](https://commits.webkit.org/261734@main))
- Updated margin box for trimmed `block-end` boxes in block container and adjust the position of self-collapsing children ([261750@main](https://commits.webkit.org/261750@main))
- Implemented the `Response.json` static method ([261960@main](https://commits.webkit.org/261960@main))

### Accessibility

- Added support for `code` ARIA role ([261640@main](https://commits.webkit.org/261640@main))
- Implemented ‘generic’ role mapping ([261894@main](https://commits.webkit.org/261894@main))
- Fixed standalone spin buttons to be directly incrementable and decrementable ([261396@main](https://commits.webkit.org/261396@main))
- Fixed form controls taking the AX text of an ancestor label over their own inner text ([261843@main](https://commits.webkit.org/261843@main))

### MathML

- Fixed not ignoring out-of-flow boxes while processing invalid MathML content ([261841@main](https://commits.webkit.org/261841@main))

### SVG

- Fixed text transformation not starting on initial render ([261408@main](https://commits.webkit.org/261408@main))

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)